fix delete quirk

This commit is contained in:
Ken Bowley 2001-10-23 05:45:07 +00:00
parent 562f1bafc6
commit b3e3995c0c

View File

@ -453,7 +453,9 @@ int Fs_Edit()
printf(" \b");
Message[CurRow][i-1] = '\0';
Setcursor();
} else if ((strlen(Message[CurRow]) + strlen(Message[CurRow+1]) < 75) && (CurRow < Line)) {
} else if (((strlen(Message[CurRow]) + strlen(Message[CurRow+1]) < 75)
|| (strlen(Message[CurRow]) == 0))
&& (CurRow < Line)) {
for (i = 0; i < strlen(Message[CurRow+1]); i++)
sprintf(Message[CurRow], "%s%c", Message[CurRow], Message[CurRow+1][i]);
for (i = CurRow+1; i < Line; i++)