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

Fix width calculation for clreol()

parent 6ee03f3c
Branches
Tags
No related merge requests found
......@@ -699,7 +699,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_clreol(void)
ciolib_gettextinfo(&ti);
width=ti.winright-ti.curx+1;
width=ti.winright-ti.winleft+1-ti.curx+1;
height=1;
buf=(unsigned char *)alloca(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