fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag

This commit is contained in:
darin%netscape.com 2003-07-02 21:20:14 +00:00
parent b899c29851
commit ca48f5672f
2 changed files with 2 additions and 4 deletions

View File

@ -187,8 +187,7 @@ class ConvertUTF8toUTF16
}
else
{
if ( ucs4 != 0xFEFF ) // ignore BOM
*out++ = ucs4;
*out++ = ucs4;
}
}
mBuffer = out;

View File

@ -187,8 +187,7 @@ class ConvertUTF8toUTF16
}
else
{
if ( ucs4 != 0xFEFF ) // ignore BOM
*out++ = ucs4;
*out++ = ucs4;
}
}
mBuffer = out;