X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=conio.c;h=8c33917e897521dac3b0e18abc619be5e9f2d410;hb=14c898877ad4032c54f25ce683ac916a73c660b2;hp=9f51c31987f2ddd65d2ad7137a7a2bdc6bfdac87;hpb=6e230d76cb937fb122a79fb32547a6938b4490b9;p=super-star-trek.git diff --git a/conio.c b/conio.c index 9f51c31..8c33917 100644 --- a/conio.c +++ b/conio.c @@ -305,20 +305,24 @@ void textmode (int mode) int wherex (void) { +#ifdef SERGEEV int y; int x; getyx(conio_scr,y,x); x++; return(x); +#endif /* SERGEEV */ } int wherey (void) { +#ifdef SERGEEV int y; int x; getyx(conio_scr,y,x); y++; return(y); +#endif /* SERGEEV */ } void window (int left,int top,int right,int bottom)