aboutsummaryrefslogtreecommitdiff
path: root/busybox
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-08-12 06:02:30 +0000
committerRob Landley <rob@landley.net>2005-08-12 06:02:30 +0000
commit9344d8aa10ecf99aba3eae97e4fa131360f89729 (patch)
treec8cac66ea14d711c75e4f7ea13ff3eb849e3813e /busybox
parent44dbd4bc650440f3746e446ae6773e7ce98156fd (diff)
downloadbusybox-w32-9344d8aa10ecf99aba3eae97e4fa131360f89729.tar.gz
busybox-w32-9344d8aa10ecf99aba3eae97e4fa131360f89729.tar.bz2
busybox-w32-9344d8aa10ecf99aba3eae97e4fa131360f89729.zip
And 10873.
Diffstat (limited to 'busybox')
-rw-r--r--busybox/editors/vi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/busybox/editors/vi.c b/busybox/editors/vi.c
index eb0aa33f6..6f739a714 100644
--- a/busybox/editors/vi.c
+++ b/busybox/editors/vi.c
@@ -3517,6 +3517,7 @@ key_cmd_mode:
3517 dot_end(); // move to NL 3517 dot_end(); // move to NL
3518 if (dot < end - 1) { // make sure not last char in text[] 3518 if (dot < end - 1) { // make sure not last char in text[]
3519 *dot++ = ' '; // replace NL with space 3519 *dot++ = ' '; // replace NL with space
3520 file_modified = TRUE;
3520 while (isblnk(*dot)) { // delete leading WS 3521 while (isblnk(*dot)) { // delete leading WS
3521 dot_delete(); 3522 dot_delete();
3522 } 3523 }