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

Fix width calculation for clreol()

parent 6ee03f3c
No related branches found
No related tags found
No related merge requests found
...@@ -699,7 +699,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_clreol(void) ...@@ -699,7 +699,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_clreol(void)
ciolib_gettextinfo(&ti); ciolib_gettextinfo(&ti);
width=ti.winright-ti.curx+1; width=ti.winright-ti.winleft+1-ti.curx+1;
height=1; height=1;
buf=(unsigned char *)alloca(width*height*2); buf=(unsigned char *)alloca(width*height*2);
for(i=0;i<width*height*2;) { for(i=0;i<width*height*2;) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment