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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user