applying fix for:

0000118: vi join command does not mark file as modified for certain lines.
1_1_stable
Paul Fox 2005-07-20 17:39:52 +00:00
parent 28069404a4
commit 18433aadf6
1 changed files with 1 additions and 0 deletions

View File

@ -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();
} }