Fix dubious C code construct.
This commit is contained in:
parent
b26244446b
commit
3dc2fe25dc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143318
@ -640,7 +640,7 @@ compile_tr(char *p, struct s_tr **py)
|
||||
if (p == NULL)
|
||||
errx(1, "%lu: %s: unterminated transform source string",
|
||||
linenum, fname);
|
||||
p = compile_delimited(--p, new);
|
||||
p = compile_delimited(p - 1, new);
|
||||
if (p == NULL)
|
||||
errx(1, "%lu: %s: unterminated transform target string",
|
||||
linenum, fname);
|
||||
|
Loading…
Reference in New Issue
Block a user