Prefer SDL_zero()/SDL_zerop()

Replace uses of 'SDL_memset(E, 0, sizeof(E))' and similar
with the SDL_zero()/SDL_zerop() macros.
This commit is contained in:
Eddy Jansson
2026-01-23 19:42:06 +01:00
committed by Sam Lantinga
parent fe403220f0
commit 83fb7b6636
17 changed files with 30 additions and 30 deletions

View File

@@ -637,7 +637,7 @@ void SDL_IBus_Quit(void)
SDL_RemoveHintCallback(SDL_HINT_IME_IMPLEMENTED_UI, IBus_SetCapabilities, NULL);
SDL_memset(&ibus_cursor_rect, 0, sizeof(ibus_cursor_rect));
SDL_zero(ibus_cursor_rect);
}
static void IBus_SimpleMessage(const char *method)