aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorPaul Fox <pgf@brightstareng.com>2005-07-20 17:39:52 +0000
committerPaul Fox <pgf@brightstareng.com>2005-07-20 17:39:52 +0000
commit18433aadf67871ede7000cdacf4c05c544059732 (patch)
treef55596f2c47b7e25be573cb7e28f21594dbd008f /editors
parent28069404a4ef3ba2dcf31ff167877c11268409e7 (diff)
downloadbusybox-18433aadf67871ede7000cdacf4c05c544059732.tar.gz
applying fix for:
0000118: vi join command does not mark file as modified for certain lines.
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c
index eb0aa33f6..6f739a714 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -3517,6 +3517,7 @@ key_cmd_mode:
dot_end(); // move to NL
if (dot < end - 1) { // make sure not last char in text[]
*dot++ = ' '; // replace NL with space
+ file_modified = TRUE;
while (isblnk(*dot)) { // delete leading WS
dot_delete();
}