src/SDL_hints.c
changeset 5200 01bced9a4cc1
parent 5189 6f6a9340fb93
child 5262 b530ef003506
     1.1 --- a/src/SDL_hints.c	Sat Feb 05 16:07:10 2011 -0800
     1.2 +++ b/src/SDL_hints.c	Sat Feb 05 20:02:37 2011 -0800
     1.3 @@ -38,7 +38,8 @@
     1.4  
     1.5  
     1.6  SDL_bool
     1.7 -SDL_SetHint(const char *name, const char *value, SDL_HintPriority priority)
     1.8 +SDL_SetHintWithPriority(const char *name, const char *value,
     1.9 +                        SDL_HintPriority priority)
    1.10  {
    1.11      const char *env;
    1.12      SDL_Hint *prev, *hint;
    1.13 @@ -80,6 +81,12 @@
    1.14      return SDL_TRUE;
    1.15  }
    1.16  
    1.17 +SDL_bool
    1.18 +SDL_SetHint(const char *name, const char *value)
    1.19 +{
    1.20 +    return SDL_SetHintWithPriority(name, value, SDL_HINT_NORMAL);
    1.21 +}
    1.22 +
    1.23  const char *
    1.24  SDL_GetHint(const char *name)
    1.25  {