Fixes a few non C89 compliant comments
This commit is contained in:
parent
4aff1bfc47
commit
25c9f2cd30
3 changed files with 63 additions and 62 deletions
|
@ -488,14 +488,14 @@ SDL_PrivateJoystickShouldIgnoreEvent()
|
|||
|
||||
if (SDL_WasInit(SDL_INIT_VIDEO)) {
|
||||
if (SDL_GetKeyboardFocus() == NULL) {
|
||||
// Video is initialized and we don't have focus, ignore the event.
|
||||
/* Video is initialized and we don't have focus, ignore the event.*/
|
||||
return SDL_TRUE;
|
||||
} else {
|
||||
return SDL_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
// Video subsystem wasn't initialized, always allow the event
|
||||
/* Video subsystem wasn't initialized, always allow the event*/
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue