* reset LastCharWasDoubleWidth in the beginning of every line

git-svn-id: branches/unicodekvm@48780 -
This commit is contained in:
nickysn 2021-02-22 03:48:38 +00:00
parent f9cfc0aeb4
commit ca1b315e27

View File

@ -745,7 +745,6 @@ begin
LastAttr:=7;
LastX:=-1;
LastY:=-1;
LastCharWasDoubleWidth:=False;
for y:=1 to ScreenHeight do
begin
SpaceAttr:=0;
@ -753,6 +752,7 @@ begin
LastLineWidth:=ScreenWidth;
If (y=ScreenHeight) And (Console=ttyFreeBSD) {And :am: is on} Then
LastLineWidth:=ScreenWidth-2;
LastCharWasDoubleWidth:=False;
for x:=1 to LastLineWidth do
begin
if LastCharWasDoubleWidth then