summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko2008-03-24 02:05:58 +0000
committerDenis Vlasenko2008-03-24 02:05:58 +0000
commit42cc304e9084843ad6b153afaf4b3f6c6528c364 (patch)
tree51d7cc0dfcd554658d980b9628180e39512f9b1b /editors
parent39c77c37384f87075ad578855f0a11ecbf0681f3 (diff)
downloadbusybox-42cc304e9084843ad6b153afaf4b3f6c6528c364.zip
busybox-42cc304e9084843ad6b153afaf4b3f6c6528c364.tar.gz
lpr: add more accurate comments
*: trailing whitespace removal
Diffstat (limited to 'editors')
-rw-r--r--editors/patch.c2
-rw-r--r--editors/vi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/patch.c b/editors/patch.c
index a37f4e6..a2d593d 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -136,7 +136,7 @@ int patch_main(int argc ATTRIBUTE_UNUSED, char **argv)
src_stream = NULL;
if (backup_filename && !stat(original_filename, &saved_stat)) {
- src_stream = xfopen((strcmp(original_filename, new_filename)) ?
+ src_stream = xfopen((strcmp(original_filename, new_filename)) ?
original_filename : backup_filename, "r");
}
diff --git a/editors/vi.c b/editors/vi.c
index 22bd2ff..65fb026 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -1718,7 +1718,7 @@ static int find_range(char ** start, char ** stop, char c)
p = t;
}
- // backward char movements don't include start position
+ // backward char movements don't include start position
if (q > p && strchr("^0bBh\b\177", c)) q--;
multiline = 0;