mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-09 21:08:13 +00:00
Pointer as bool (libsdl-org#7214)
This commit is contained in:
@@ -419,7 +419,7 @@ void SDL_Fcitx_UpdateTextRect(const SDL_Rect *rect)
|
||||
}
|
||||
|
||||
focused_win = SDL_GetKeyboardFocus();
|
||||
if (focused_win == NULL) {
|
||||
if (!focused_win) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user