diff options
Diffstat (limited to 'src/SDL_hints.c')
-rw-r--r-- | src/SDL_hints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SDL_hints.c b/src/SDL_hints.c index ed635c76d9..bd9404d46b 100644 --- a/src/SDL_hints.c +++ b/src/SDL_hints.c @@ -41,14 +41,14 @@ SDL_bool SDL_RegisterHintChangedCb(const char *name, SDL_HintChangedCb hintCb) { SDL_Hint *hint; - + for (hint = SDL_hints; hint; hint = hint->next) { if (SDL_strcmp(name, hint->name) == 0) { hint->callback = hintCb; return SDL_TRUE; } } - + return SDL_FALSE; } |