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

Fix cleararea() was always clearing to the bottom of the screen for some

reason.
parent 471eeb87
No related branches found
No related tags found
No related merge requests found
......@@ -2299,7 +2299,7 @@ function cleararea(xpos,ypos,width,height,eol_allowed)
bgxo=xpos-1; /* zero-based */
bgyo=ypos-2; /* zero-based and make allowance for top line (The top of BackGround is at line 2) */
bgw=width;
bgh=mtop-ypos; /* Height is here to the message window */
bgh=height;
if(bgyo+bgh>BackGround.height) /* Too high? */
bgh=BackGround.height-bgyo;
if(ypos+bgh > mtop)
......
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