aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
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 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
687 sscanf(p, "%d%n", addr, &st); 687 sscanf(p, "%d%n", addr, &st);
688 p += st; 688 p += st;
689 } else { 689 } else {
690 // unrecognised address - assume -1 690 // unrecognized address - assume -1
691 *addr = -1; 691 *addr = -1;
692 } 692 }
693 return p; 693 return p;
@@ -2979,7 +2979,7 @@ static void do_cmd(int c)
2979 //case '`': // `- 2979 //case '`': // `-
2980 //case 'u': // u- FIXME- there is no undo 2980 //case 'u': // u- FIXME- there is no undo
2981 //case 'v': // v- 2981 //case 'v': // v-
2982 default: // unrecognised command 2982 default: // unrecognized command
2983 buf[0] = c; 2983 buf[0] = c;
2984 buf[1] = '\0'; 2984 buf[1] = '\0';
2985 if (c < ' ') { 2985 if (c < ' ') {
@@ -3356,7 +3356,7 @@ static void do_cmd(int c)
3356 } else if (sscanf(p, "%d", &j) > 0) { 3356 } else if (sscanf(p, "%d", &j) > 0) {
3357 dot = find_line(j); // go to line # j 3357 dot = find_line(j); // go to line # j
3358 dot_skip_over_ws(); 3358 dot_skip_over_ws();
3359 } else { // unrecognised cmd 3359 } else { // unrecognized cmd
3360 not_implemented(p); 3360 not_implemented(p);
3361 } 3361 }
3362#endif /* !FEATURE_VI_COLON */ 3362#endif /* !FEATURE_VI_COLON */