mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-16 19:18:55 +00:00
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:
parent
fe403220f0
commit
83fb7b6636
17 changed files with 30 additions and 30 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue