remove several instances of unnecessary emptry str "" after SDL_PRI???

This commit is contained in:
Ozkan Sezer 2024-01-18 17:25:56 +03:00
parent 3d6cf2b5c0
commit f52a12a8fe
2 changed files with 4 additions and 5 deletions

View file

@ -1594,11 +1594,10 @@ static void SDLTest_PrintEvent(SDL_Event *event)
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " restored", event->window.windowID); SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " restored", event->window.windowID);
break; break;
case SDL_WINDOWEVENT_ENTER: case SDL_WINDOWEVENT_ENTER:
SDL_Log("SDL EVENT: Mouse entered window %" SDL_PRIu32 "", SDL_Log("SDL EVENT: Mouse entered window %" SDL_PRIu32, event->window.windowID);
event->window.windowID);
break; break;
case SDL_WINDOWEVENT_LEAVE: case SDL_WINDOWEVENT_LEAVE:
SDL_Log("SDL EVENT: Mouse left window %" SDL_PRIu32 "", event->window.windowID); SDL_Log("SDL EVENT: Mouse left window %" SDL_PRIu32, event->window.windowID);
break; break;
case SDL_WINDOWEVENT_FOCUS_GAINED: case SDL_WINDOWEVENT_FOCUS_GAINED:
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " gained keyboard focus", SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " gained keyboard focus",
@ -1621,7 +1620,7 @@ static void SDLTest_PrintEvent(SDL_Event *event)
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " ICC profile changed", event->window.windowID); SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " ICC profile changed", event->window.windowID);
break; break;
case SDL_WINDOWEVENT_DISPLAY_CHANGED: case SDL_WINDOWEVENT_DISPLAY_CHANGED:
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " display changed to %" SDL_PRIs32 "", event->window.windowID, event->window.data1); SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " display changed to %" SDL_PRIs32, event->window.windowID, event->window.data1);
break; break;
default: default:
SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " got unknown event 0x%4.4x", SDL_Log("SDL EVENT: Window %" SDL_PRIu32 " got unknown event 0x%4.4x",

View file

@ -251,7 +251,7 @@ loop(void)
break; break;
case SDL_DOLLARRECORD: case SDL_DOLLARRECORD:
SDL_Log("Recorded gesture: %" SDL_PRIs64 "", event.dgesture.gestureId); SDL_Log("Recorded gesture: %" SDL_PRIs64, event.dgesture.gestureId);
break; break;
} }
} }