Code cleanup now that SDL_bool is equivalent to a C boolean expression
This commit is contained in:
1 parent
a76d8e39aa
commit
f3261fedcc
53 files changed
+133
-138
No files matched your search
@@ -1227,7 +1227,7 @@ static SDL_bool CharacterMatchesSet(char c, const char *set, size_t set_len)
|
||||
}
|
||||
}
|
||||
if (invert) {
|
||||
result = result ? SDL_FALSE : SDL_TRUE;
|
||||
result = !result;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user