summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenys Vlasenko2009-07-04 16:50:43 +0200
committerDenys Vlasenko2009-07-04 16:50:43 +0200
commitb22bbfffec182997827b0a71eeb93ddafbde602c (patch)
treec7822f5ed12ed82e4116121ea775510db232b111 /editors
parentfca70a8cce579ce8cc8caf246c22f0c6e6c6e139 (diff)
downloadbusybox-b22bbfffec182997827b0a71eeb93ddafbde602c.zip
busybox-b22bbfffec182997827b0a71eeb93ddafbde602c.tar.gz
fix dependencies of FEATURE_GETOPT_LONG
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c
index b5696fb..31a1edc 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -687,7 +687,7 @@ static char *get_one_address(char *p, int *addr) // get colon addr, if present
sscanf(p, "%d%n", addr, &st);
p += st;
} else {
- // unrecognised address - assume -1
+ // unrecognized address - assume -1
*addr = -1;
}
return p;
@@ -2979,7 +2979,7 @@ static void do_cmd(int c)
//case '`': // `-
//case 'u': // u- FIXME- there is no undo
//case 'v': // v-
- default: // unrecognised command
+ default: // unrecognized command
buf[0] = c;
buf[1] = '\0';
if (c < ' ') {
@@ -3356,7 +3356,7 @@ static void do_cmd(int c)
} else if (sscanf(p, "%d", &j) > 0) {
dot = find_line(j); // go to line # j
dot_skip_over_ws();
- } else { // unrecognised cmd
+ } else { // unrecognized cmd
not_implemented(p);
}
#endif /* !FEATURE_VI_COLON */