diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/sed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c index ac765c83f..ddd4780d3 100644 --- a/editors/sed.c +++ b/editors/sed.c @@ -193,6 +193,7 @@ static int get_address(char *delimiter, char *my_str, int *linenum, regex_t **re else if (my_str[idx] == '/' || my_str[idx] == '\\') { int idx_start = 1; + *delimiter = '/'; if (my_str[idx] == '\\') { idx_start++; *delimiter = my_str[++idx]; |