fix delete quirk
This commit is contained in:
parent
562f1bafc6
commit
b3e3995c0c
@ -453,7 +453,9 @@ int Fs_Edit()
|
|||||||
printf(" \b");
|
printf(" \b");
|
||||||
Message[CurRow][i-1] = '\0';
|
Message[CurRow][i-1] = '\0';
|
||||||
Setcursor();
|
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++)
|
for (i = 0; i < strlen(Message[CurRow+1]); i++)
|
||||||
sprintf(Message[CurRow], "%s%c", Message[CurRow], Message[CurRow+1][i]);
|
sprintf(Message[CurRow], "%s%c", Message[CurRow], Message[CurRow+1][i]);
|
||||||
for (i = CurRow+1; i < Line; i++)
|
for (i = CurRow+1; i < Line; i++)
|
||||||
|
Reference in New Issue
Block a user