Backends/SDL2/Misc: !x -> x == NULL

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2020-04-12 01:19:35 +02:00
parent d0b8aef281
commit 53e2b715d4

View file

@ -86,7 +86,7 @@ void Backend_PostWindowCreation(void)
BOOL Backend_GetBasePath(char *string_buffer)
{
char *base_path = SDL_GetBasePath();
if (!base_path)
if (base_path == NULL)
return FALSE;
// Trim the trailing '/'