1
0
Fork 0

(svn r26796) -Fix: reading of high byte of "ASCII" files yielded a negative int8, then casted to an uint32 which caused the Squirrel lexer to bail out. Regardless... the file isn't actually ASCII, but that's beyond the point for now

release/1.5
rubidium 2014-09-07 16:03:02 +00:00
parent 93722be21f
commit 385d3d3947
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ public:
static WChar _io_file_lexfeed_ASCII(SQUserPointer file)
{
char c;
unsigned char c;
if (((SQFile *)file)->Read(&c, sizeof(c), 1) > 0) return c;
return 0;
}