mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-04-18 23:21: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 commit 203a2a76fc0af2094de84d75dbf959c7db73fe72)
This commit is contained in:
parent
6ed29f47c9
commit
c0824cd49a
|
@ -161,7 +161,7 @@ static void SDLCALL SDL_EventLoggingChanged(void *userdata, const char *name, co
|
|||
|
||||
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…
Reference in a new issue