Removing trailing commas in enums in SDL headers
Trailing commas in enums is a C99 feature. This commit removes them in SDL headers for ANSI compatibility.
This commit is contained in:
1 parent
be6b8dead4
commit
b98116a996
5 files changed
+6
-6
No files matched your search
@@ -323,7 +323,7 @@ typedef enum SDL_Keymod
|
||||
SDL_KMOD_CTRL = SDL_KMOD_LCTRL | SDL_KMOD_RCTRL, /**< Any Ctrl key is down. */
|
||||
SDL_KMOD_SHIFT = SDL_KMOD_LSHIFT | SDL_KMOD_RSHIFT, /**< Any Shift key is down. */
|
||||
SDL_KMOD_ALT = SDL_KMOD_LALT | SDL_KMOD_RALT, /**< Any Alt key is down. */
|
||||
SDL_KMOD_GUI = SDL_KMOD_LGUI | SDL_KMOD_RGUI, /**< Any GUI key is down. */
|
||||
SDL_KMOD_GUI = SDL_KMOD_LGUI | SDL_KMOD_RGUI /**< Any GUI key is down. */
|
||||
} SDL_Keymod;
|
||||
|
||||
#endif /* SDL_keycode_h_ */
|
||||
Reference in new issue
Block a user