mirror of
				https://github.com/encounter/SDL.git
				synced 2025-10-27 12:10:24 +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) (cherry picked from commit c0824cd49adb185d1aa992242911467dc0bf46b1)
This commit is contained in:
		
							parent
							
								
									24098b75b1
								
							
						
					
					
						commit
						086322076a
					
				| @ -168,7 +168,7 @@ SDL_EventLoggingChanged(void *userdata, const char *name, const char *oldValue, | |||||||
| static void | static void | ||||||
| SDL_LogEvent(const SDL_Event *event) | SDL_LogEvent(const SDL_Event *event) | ||||||
| { | { | ||||||
|     char name[32]; |     char name[64]; | ||||||
|     char details[128]; |     char details[128]; | ||||||
| 
 | 
 | ||||||
|     /* sensor/mouse/finger motion are spammy, ignore these if they aren't demanded. */ |     /* sensor/mouse/finger motion are spammy, ignore these if they aren't demanded. */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user