Fix dubious C code construct.

This commit is contained in:
Stefan Farfeleder 2005-03-09 11:57:32 +00:00
parent b26244446b
commit 3dc2fe25dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143318

View File

@ -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);