mirror of
https://github.com/halpz/re3.git
synced 2025-07-17 12:38:17 +00:00
Fix use of strncmp
This commit is contained in:
@ -115,7 +115,7 @@ cHandlingDataMgr::LoadHandlingData(void)
|
||||
end = start+1;
|
||||
|
||||
// yeah, this is kinda crappy
|
||||
if(strncmp(line, ";the end", 9) == 0)
|
||||
if(strcmp(line, ";the end") == 0)
|
||||
keepGoing = 0;
|
||||
else if(line[0] != ';'){
|
||||
field = 0;
|
||||
|
Reference in New Issue
Block a user