diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-04 16:50:43 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-07-04 16:50:43 +0200 |
commit | b22bbfffec182997827b0a71eeb93ddafbde602c (patch) | |
tree | c7822f5ed12ed82e4116121ea775510db232b111 /editors/vi.c | |
parent | fca70a8cce579ce8cc8caf246c22f0c6e6c6e139 (diff) |
fix dependencies of FEATURE_GETOPT_LONG
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/vi.c b/editors/vi.c index b5696fb28..31a1edc9f 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 */ |