Skip to content
Snippets Groups Projects
Commit d41e1f3f authored by deuce's avatar deuce
Browse files

BUGFIX: Scroll *after* a write to the bottom left-hand corner, not before (glah)

parent aafb9421
No related branches found
No related tags found
No related merge requests found
...@@ -1327,11 +1327,11 @@ void ctputs(char *buf) ...@@ -1327,11 +1327,11 @@ void ctputs(char *buf)
if(cy==cterm.height if(cy==cterm.height
&& cx==cterm.width) { && cx==cterm.width) {
char ch; char ch;
ch=*p; ch=*(p+1);
*p=0; *(p+1)=0;
cputs(outp); cputs(outp);
*p=ch; *(p+1)=ch;
outp=p; outp=p+1;
scrollup(); scrollup();
cx=1; cx=1;
gotoxy(cx,cy); gotoxy(cx,cy);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment