From: Sergey Poznyakoff Date: Thu, 8 Jun 2006 09:50:56 +0000 (+0000) Subject: (add_char_segment): Fix length assignement X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=02c7b862a3068bfab33b724c5c226dc30a0a24e7;p=chaz%2Ftar (add_char_segment): Fix length assignement --- diff --git a/src/transform.c b/src/transform.c index 8098ae2..23edd9e 100644 --- a/src/transform.c +++ b/src/transform.c @@ -103,7 +103,7 @@ add_char_segment (int chr) segm->v.literal.ptr = xmalloc (2); segm->v.literal.ptr[0] = chr; segm->v.literal.ptr[1] = 0; - segm->v.literal.size = 2; + segm->v.literal.size = 1; } static void