Use UTF8 in XML parser

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7659 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-09-30 04:54:43 +00:00
parent 8a67887721
commit 2c7fd523ac
5 changed files with 153 additions and 82 deletions

View file

@ -184,7 +184,7 @@
{
_count = length;
_contents_chars = chars;
if (flag && chars)
if (flag == YES && chars != 0)
{
#if GS_WITH_GC
_zone = GSAtomicMallocZone();
@ -669,7 +669,7 @@ stringDecrementCountAndFillHoleAt(NSGMutableStringStruct *self,
_count = length;
_capacity = length;
_contents_chars = chars;
if (flag && chars)
if (flag == YES && chars != 0)
{
#if GS_WITH_GC
_zone = GSAtomicMallocZone();