From 3ac4e684ab729c3cc6c51987a7ac4158d1305237 Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Sat, 28 Feb 2026 09:30:04 -0500 Subject: [PATCH] make sure #endif comment matches the macro name --- src/dialog/unix/SDL_zenitymessagebox.h | 2 +- src/haptic/hidapi/SDL_hidapihaptic_c.h | 2 +- src/joystick/hidapi/steam/controller_constants.h | 2 +- src/joystick/hidapi/steam/controller_structs.h | 2 +- src/thread/n3ds/SDL_sysmutex_c.h | 2 +- src/video/openvr/SDL_openvrvideo.c | 2 +- src/video/vita/SDL_vitavideo.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/dialog/unix/SDL_zenitymessagebox.h b/src/dialog/unix/SDL_zenitymessagebox.h index a06c46208c..1e08ae99ff 100644 --- a/src/dialog/unix/SDL_zenitymessagebox.h +++ b/src/dialog/unix/SDL_zenitymessagebox.h @@ -25,4 +25,4 @@ extern bool SDL_Zenity_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonID); extern bool SDL_get_zenity_version(int *major, int *minor); -#endif // SDL_waylandmessagebox_h_ +#endif // SDL_zenitymessagebox_h_ diff --git a/src/haptic/hidapi/SDL_hidapihaptic_c.h b/src/haptic/hidapi/SDL_hidapihaptic_c.h index 7d678811d5..3ae4f29baa 100644 --- a/src/haptic/hidapi/SDL_hidapihaptic_c.h +++ b/src/haptic/hidapi/SDL_hidapihaptic_c.h @@ -67,4 +67,4 @@ struct SDL_HIDAPI_HapticDriver extern SDL_HIDAPI_HapticDriver SDL_HIDAPI_HapticDriverLg4ff; -#endif //SDL_joystick_c_h_ +#endif //SDL_hidapihaptic_c_h_ diff --git a/src/joystick/hidapi/steam/controller_constants.h b/src/joystick/hidapi/steam/controller_constants.h index b60021e0c5..e838a8924a 100644 --- a/src/joystick/hidapi/steam/controller_constants.h +++ b/src/joystick/hidapi/steam/controller_constants.h @@ -585,4 +585,4 @@ typedef enum } #endif -#endif // _CONTROLLER_CONSTANTS_H +#endif // _CONTROLLER_CONSTANTS_ diff --git a/src/joystick/hidapi/steam/controller_structs.h b/src/joystick/hidapi/steam/controller_structs.h index 8b850e0f83..e3a979427f 100644 --- a/src/joystick/hidapi/steam/controller_structs.h +++ b/src/joystick/hidapi/steam/controller_structs.h @@ -664,4 +664,4 @@ typedef struct #pragma pack() -#endif // _CONTROLLER_STRUCTS +#endif // _CONTROLLER_STRUCTS_ diff --git a/src/thread/n3ds/SDL_sysmutex_c.h b/src/thread/n3ds/SDL_sysmutex_c.h index 1db794ccf6..37b5965cd4 100644 --- a/src/thread/n3ds/SDL_sysmutex_c.h +++ b/src/thread/n3ds/SDL_sysmutex_c.h @@ -30,4 +30,4 @@ struct SDL_Mutex RecursiveLock lock; }; -#endif // SDL_sysmutex_c_h +#endif // SDL_sysmutex_c_h_ diff --git a/src/video/openvr/SDL_openvrvideo.c b/src/video/openvr/SDL_openvrvideo.c index 8a9d36c7cc..24e31f37ee 100644 --- a/src/video/openvr/SDL_openvrvideo.c +++ b/src/video/openvr/SDL_openvrvideo.c @@ -1667,5 +1667,5 @@ VideoBootStrap OPENVR_bootstrap = { "openvr", "SDL OpenVR video driver", OPENVR_CreateDevice, NULL, false }; -#endif // SDL_VIDEO_DRIVER_WINDOWS +#endif // SDL_VIDEO_DRIVER_OPENVR diff --git a/src/video/vita/SDL_vitavideo.h b/src/video/vita/SDL_vitavideo.h index 18ad31689e..4657f14ea9 100644 --- a/src/video/vita/SDL_vitavideo.h +++ b/src/video/vita/SDL_vitavideo.h @@ -117,4 +117,4 @@ extern void VITA_HideScreenKeyboard(SDL_VideoDevice *_this, SDL_Window *window); extern void VITA_PumpEvents(SDL_VideoDevice *_this); -#endif // SDL_pspvideo_h +#endif // SDL_vitavideo_h