Backends/SDL2/Misc: !x
-> x == NULL
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
parent
d0b8aef281
commit
53e2b715d4
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ void Backend_PostWindowCreation(void)
|
||||||
BOOL Backend_GetBasePath(char *string_buffer)
|
BOOL Backend_GetBasePath(char *string_buffer)
|
||||||
{
|
{
|
||||||
char *base_path = SDL_GetBasePath();
|
char *base_path = SDL_GetBasePath();
|
||||||
if (!base_path)
|
if (base_path == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
// Trim the trailing '/'
|
// Trim the trailing '/'
|
||||||
|
|
Loading…
Add table
Reference in a new issue