倾泪寒主分支解密 成功
This commit is contained in:
parent
765d63c28d
commit
2c1a9b7dbd
|
|
@ -273,12 +273,12 @@ static int SQloadfile(uint32_t v, const wchar_t* filename, bool printerror)
|
|||
if (SQfread(&uc, 1, sizeof(uc), file) == 0)
|
||||
{
|
||||
SQ__Fclose(file);
|
||||
return SQ_Throwerror(v, _SC("io error"));
|
||||
return 1;
|
||||
}
|
||||
if (uc != 0xBF)
|
||||
{
|
||||
SQ__Fclose(file);
|
||||
return SQ_Throwerror(v, _SC("Unrecognozed ecoding"));
|
||||
return 1;
|
||||
}
|
||||
func = SQ_io_file_lexfeed_UTF8;
|
||||
break;//UTF-8 ;
|
||||
|
|
@ -316,7 +316,7 @@ static int SQloadfile(uint32_t v, const wchar_t* filename, bool printerror)
|
|||
SQ__Fclose(file);
|
||||
return -1;
|
||||
}
|
||||
return SQ_Throwerror(v, _SC("cannot open the file"));
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int SQdofile(uint32_t v, const wchar_t* filename, bool retval, bool printerror)
|
||||
|
|
|
|||
Loading…
Reference in New Issue