mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-13 09:55:42 +00:00
events: Increase the size of the name buffer when logging events
Event names have grown in length and are occasionally truncated when being logged (e.g. SDL_EVENT_WINDOW_PIXEL_SIZE_CHA). Increase the event name buffer size to handle the longer names. (cherry picked from commit203a2a76fc) (cherry picked from commitc0824cd49a)
This commit is contained in:
parent
24098b75b1
commit
086322076a
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ SDL_EventLoggingChanged(void *userdata, const char *name, const char *oldValue,
|
|||
static void
|
||||
SDL_LogEvent(const SDL_Event *event)
|
||||
{
|
||||
char name[32];
|
||||
char name[64];
|
||||
char details[128];
|
||||
|
||||
/* sensor/mouse/finger motion are spammy, ignore these if they aren't demanded. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue