From: erg Date: Thu, 3 Sep 2009 22:12:51 +0000 (+0000) Subject: Fix bug in agputs for cgraph X-Git-Tag: LAST_LIBGRAPH~32^2~1726 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=999acc084b82d35d626b8d160fa6cd93776da467;p=graphviz Fix bug in agputs for cgraph --- diff --git a/lib/common/output.c b/lib/common/output.c index 6424fa79a..4d78ceaca 100644 --- a/lib/common/output.c +++ b/lib/common/output.c @@ -35,8 +35,8 @@ static void agputs (const char* s, FILE* fp) static void agputc (int c, FILE* fp) { static char buf[2] = {'\0','\0'}; - buf[1] = c; - agputs (buf, fp); + buf[0] = c; + putstr ((void*)fp, buf); } #endif