From 58e8826da25283ddca42ba748aa3f789fd4003da Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 8 Oct 2009 12:11:51 +0000 Subject: [PATCH] Fixed some sloopy StrBuf coding. git-svn-id: svn://svn.cc65.org/cc65/trunk@4347 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/scanstrbuf.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cc65/scanstrbuf.c b/src/cc65/scanstrbuf.c index bb86c2e35..219377a76 100644 --- a/src/cc65/scanstrbuf.c +++ b/src/cc65/scanstrbuf.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 2002 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@cc65.org */ +/* (C) 2002-2009, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -55,7 +55,7 @@ static int ParseChar (StrBuf* B) /* Parse a character. Converts \n into EOL, etc. */ { - unsigned I; + unsigned I; unsigned Val; int C; @@ -196,7 +196,7 @@ int SB_GetString (StrBuf* B, StrBuf* S) char C; /* Initialize S */ - *S = AUTO_STRBUF_INITIALIZER; + SB_Init (S); if (SB_Peek (B) == '\"') { /* String follows, be sure to concatenate strings */ -- 2.39.5