fixed amb664 - BOM markings were not properly ignored

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401149
This commit is contained in:
David Anderson 2007-07-23 17:25:18 +00:00
parent ee6f4cb1fa
commit 54c3e17a14

View File

@ -295,7 +295,9 @@ SMCParseError TextParsers::ParseStream_SMC(void *stream,
in_buf[1] == (char)0xBB &&
in_buf[2] == (char)0xBF)
{
parse_point = &in_buf[3];
/* Move EVERYTHING down :\ */
memmove(in_buf, &in_buf[3], read - 3);
read -= 3;
}
if (reparse_point)