From: simon Date: Fri, 16 Oct 2009 17:21:32 +0000 (+0000) Subject: Fix a piece of embarrassingly untested pointer-twiddling. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/commitdiff_plain/1f651677c857d752bc477c937a80a9a3ada5aff4 Fix a piece of embarrassingly untested pointer-twiddling. git-svn-id: svn://svn.tartarus.org/sgt/agedu@8720 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/agedu.c b/agedu.c index 2b9fcdd..add92ac 100644 --- a/agedu.c +++ b/agedu.c @@ -1038,9 +1038,10 @@ int main(int argc, char **argv) } p++; } + } else { + p++; } *q++ = c; - p++; } *q = '\0'; triebuild_add(ctx->tb, buf, &tf);