aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index b8f00c0c9..c434eee1b 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -896,7 +896,7 @@ restart:
896 /* or does this line matches our last address regex */ 896 /* or does this line matches our last address regex */
897 || (sed_cmd->end_match && old_matched 897 || (sed_cmd->end_match && old_matched
898 && (regexec(sed_cmd->end_match, 898 && (regexec(sed_cmd->end_match,
899 pattern_space, 0, NULL, 0) == 0)) 899 pattern_space, 0, NULL, 0) == 0))
900 ); 900 );
901 } 901 }
902 902
diff --git a/editors/vi.c b/editors/vi.c
index 45a80517d..6898e61a4 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -84,7 +84,7 @@ enum {
84 S_TO_WS = 2, // used in skip_thing() for moving "dot" 84 S_TO_WS = 2, // used in skip_thing() for moving "dot"
85 S_OVER_WS = 3, // used in skip_thing() for moving "dot" 85 S_OVER_WS = 3, // used in skip_thing() for moving "dot"
86 S_END_PUNCT = 4, // used in skip_thing() for moving "dot" 86 S_END_PUNCT = 4, // used in skip_thing() for moving "dot"
87 S_END_ALNUM = 5 // used in skip_thing() for moving "dot" 87 S_END_ALNUM = 5, // used in skip_thing() for moving "dot"
88}; 88};
89 89
90typedef unsigned char Byte; 90typedef unsigned char Byte;