applying fix for:
0000118: vi join command does not mark file as modified for certain lines.
This commit is contained in:
parent
28069404a4
commit
18433aadf6
@ -3517,6 +3517,7 @@ key_cmd_mode:
|
|||||||
dot_end(); // move to NL
|
dot_end(); // move to NL
|
||||||
if (dot < end - 1) { // make sure not last char in text[]
|
if (dot < end - 1) { // make sure not last char in text[]
|
||||||
*dot++ = ' '; // replace NL with space
|
*dot++ = ' '; // replace NL with space
|
||||||
|
file_modified = TRUE;
|
||||||
while (isblnk(*dot)) { // delete leading WS
|
while (isblnk(*dot)) { // delete leading WS
|
||||||
dot_delete();
|
dot_delete();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user