Fix (technically functional) string comparison counting an extra character in the comparison length
This commit is contained in:
parent
3d7cd29eda
commit
25cf369f22
|
@ -10236,7 +10236,7 @@ static fixed_t find_const(const char **rword)
|
|||
free(word);
|
||||
return r;
|
||||
}
|
||||
else if (fastncmp("GT_",word,4)) {
|
||||
else if (fastncmp("GT_",word,3)) {
|
||||
r = get_gametype(word);
|
||||
free(word);
|
||||
return r;
|
||||
|
|
Loading…
Reference in New Issue