summaryrefslogtreecommitdiff
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 b8f00c0..c434eee 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -896,7 +896,7 @@ restart:
/* or does this line matches our last address regex */
|| (sed_cmd->end_match && old_matched
&& (regexec(sed_cmd->end_match,
- pattern_space, 0, NULL, 0) == 0))
+ pattern_space, 0, NULL, 0) == 0))
);
}
diff --git a/editors/vi.c b/editors/vi.c
index 45a8051..6898e61 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -84,7 +84,7 @@ enum {
S_TO_WS = 2, // used in skip_thing() for moving "dot"
S_OVER_WS = 3, // used in skip_thing() for moving "dot"
S_END_PUNCT = 4, // used in skip_thing() for moving "dot"
- S_END_ALNUM = 5 // used in skip_thing() for moving "dot"
+ S_END_ALNUM = 5, // used in skip_thing() for moving "dot"
};
typedef unsigned char Byte;