projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44dbd4b
)
And 10873.
author
Rob Landley
<rob@landley.net>
Fri, 12 Aug 2005 06:02:30 +0000
(06:02 -0000)
committer
Rob Landley
<rob@landley.net>
Fri, 12 Aug 2005 06:02:30 +0000
(06:02 -0000)
busybox/editors/vi.c
patch
|
blob
|
history
diff --git
a/busybox/editors/vi.c
b/busybox/editors/vi.c
index eb0aa33f6078df4543afa3bf0a8d12c7bf4e4241..6f739a7143fe25a83af9ecdbb98ea8e2e6bc7242 100644
(file)
--- a/
busybox/editors/vi.c
+++ b/
busybox/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();
}