mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 15:34:37 +00:00
# housekeeping
* zip.h removed old test symbols * path_util fixed bug in mixed-separating-slash handling * renamed ERR_OK to INFO_OK; allows searching for "return ERR_" to yield all actual errors (instead of having to filter out ERR_OK) This was SVN commit r3945.
This commit is contained in:
@@ -115,7 +115,7 @@ void ScriptingHost::RunScript(const CStr& filename, JSObject* globalObject)
|
||||
|
||||
FileIOBuf buf;
|
||||
size_t size;
|
||||
if(vfs_load(fn, buf, size) != ERR_OK) // ERRTODO: translate/pass it on
|
||||
if(vfs_load(fn, buf, size) != INFO_OK) // ERRTODO: translate/pass it on
|
||||
throw PSERROR_Scripting_LoadFile_OpenFailed();
|
||||
|
||||
const char* script = (const char*)buf;
|
||||
|
||||
Reference in New Issue
Block a user