From f3bd7c4631b0489f93069bf4de127f74a88f90c9 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Sun, 9 Mar 2003 15:40:40 +0000 Subject: Fix a delimiter matching bug i introduced. --- editors/sed.c | 1 + 1 file changed, 1 insertion(+) (limited to 'editors') 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]; -- cgit v1.2.3