X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=makedoc.c;h=4829215364295c680419f4b29ee2bd236d73752d;hp=29fa8f881ba278b3f159a1002df97560d1090bff;hb=308c7080ccca40d4865d8810f5528331d9ed61ff;hpb=da5e1ce19f42beab0534e0e5fe39024a2c02812b diff --git a/makedoc.c b/makedoc.c index 29fa8f8..4829215 100644 --- a/makedoc.c +++ b/makedoc.c @@ -191,7 +191,7 @@ static void add_var (const char *name) { outbuf = realloc (outbuf, (++outcount) * sizeof (var_t)); outbuf[outcount - 1].seen = 0; - outbuf[outcount - 1].name = strdup (name); + outbuf[outcount - 1].name = strdup(name); outbuf[outcount - 1].descr = NULL; } @@ -207,7 +207,7 @@ static int add_s (const char *s) } if (lold == 0) - outbuf[outcount - 1].descr = strdup (s); + outbuf[outcount - 1].descr = strdup(s); else { outbuf[outcount - 1].descr = realloc (outbuf[outcount - 1].descr, lold + lnew + 1);