Make AUTO_STRBUF_INITIALIZER identical to STATIC_STRBUF_INITIALIZER.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4342 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-10-08 10:50:15 +00:00
parent 17d592352c
commit 4b4a9b444b
2 changed files with 11 additions and 11 deletions

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 2003-2008 Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 2003-2009, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -84,8 +84,8 @@ static StringPoolEntry* NewStringPoolEntry (const StrBuf* S, unsigned Hash, unsi
/* Initialize the fields */
E->Next = 0;
E->Hash = Hash;
E->Id = Id;
E->Buf = AUTO_STRBUF_INITIALIZER;
E->Id = Id;
SB_Init (&E->Buf);
SB_Copy (&E->Buf, S);
/* Always zero terminate the string */