mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-17 10:34:48 +00:00
Use SDL_snprintf instead of snprintf
This commit is contained in:
committed by
Anonymous Maarten
parent
3a3ebba89c
commit
d61bdd3324
@@ -508,7 +508,7 @@ xsettings_client_new_with_grab_funcs (Display *display,
|
||||
client->manager_window = None;
|
||||
client->settings = NULL;
|
||||
|
||||
sprintf(buffer, "_XSETTINGS_S%d", screen);
|
||||
SDL_snprintf(buffer, sizeof(buffer), "_XSETTINGS_S%d", screen);
|
||||
atom_names[0] = buffer;
|
||||
atom_names[1] = "_XSETTINGS_SETTINGS";
|
||||
atom_names[2] = "MANAGER";
|
||||
|
||||
Reference in New Issue
Block a user