From: bernhardheld Date: Tue, 29 Jun 2004 20:52:05 +0000 (+0000) Subject: * src/SDCCglue.c (printChar): fixed bug #973350, patch provided by Phuah Yee Keat... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ede8f6fa1c0cae241e8b40a150a989dbd4744496;p=fw%2Fsdcc * src/SDCCglue.c (printChar): fixed bug #973350, patch provided by Phuah Yee Keat git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3370 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 68a5eafa..9782b44e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-29 Bernhard Held + + * src/SDCCglue.c (printChar): fixed bug #973350, patch provided by + Phuah Yee Keat + 2004-06-28 Vangelis Rokas * src/pic16/glue.c (pic16createInterruptVect): function now emits diff --git a/src/SDCCglue.c b/src/SDCCglue.c index d76ca14f..e69ad454 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -526,7 +526,7 @@ void printChar (FILE * ofile, char *s, int plen) { int i; - int len = strlen (s); + int len = plen; int pplen = 0; char buf[100]; char *p = buf;