projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Guard against nasty surprises when building with -DESERGEEV off.
[super-star-trek.git]
/
conio.c
diff --git
a/conio.c
b/conio.c
index 9f51c31987f2ddd65d2ad7137a7a2bdc6bfdac87..8c33917e897521dac3b0e18abc619be5e9f2d410 100644
(file)
--- a/
conio.c
+++ b/
conio.c
@@
-305,20
+305,24
@@
void textmode (int mode)
int wherex (void)
{
int wherex (void)
{
+#ifdef SERGEEV
int y;
int x;
getyx(conio_scr,y,x);
x++;
return(x);
int y;
int x;
getyx(conio_scr,y,x);
x++;
return(x);
+#endif /* SERGEEV */
}
int wherey (void)
{
}
int wherey (void)
{
+#ifdef SERGEEV
int y;
int x;
getyx(conio_scr,y,x);
y++;
return(y);
int y;
int x;
getyx(conio_scr,y,x);
y++;
return(y);
+#endif /* SERGEEV */
}
void window (int left,int top,int right,int bottom)
}
void window (int left,int top,int right,int bottom)