mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 13:56:29 +00:00
fixes bug 163988 'Crashes at www.macgamer.com (HREF="&#)' patch=waltershen@netscape.com r=dbaron sr=jag
This commit is contained in:
parent
b899c29851
commit
ca48f5672f
@ -187,8 +187,7 @@ class ConvertUTF8toUTF16
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ucs4 != 0xFEFF ) // ignore BOM
|
||||
*out++ = ucs4;
|
||||
*out++ = ucs4;
|
||||
}
|
||||
}
|
||||
mBuffer = out;
|
||||
|
@ -187,8 +187,7 @@ class ConvertUTF8toUTF16
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( ucs4 != 0xFEFF ) // ignore BOM
|
||||
*out++ = ucs4;
|
||||
*out++ = ucs4;
|
||||
}
|
||||
}
|
||||
mBuffer = out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user