fix return code ...
This commit is contained in:
parent
292c4c3b24
commit
b727f5c904
@ -31,7 +31,7 @@ int main(const int argc, const char* argv[])
|
||||
if (!context.init())
|
||||
return -1;
|
||||
|
||||
bool error = DemoReader::ProcessDem(inputFp, &context);
|
||||
bool error = !DemoReader::ProcessDem(inputFp, &context);
|
||||
|
||||
fclose(inputFp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user