Fixed bug #765
authorSam Lantinga <slouken@libsdl.org>
Sat, 26 Sep 2009 10:19:19 +0000
changeset 3317b29eb7ce5352
parent 3316 9cf18687b761
child 3318 f085091f74cd
Fixed bug #765

Added SDL_SetError case for SDL_UNSUPPORTED
src/SDL_error.c
     1.1 --- a/src/SDL_error.c	Sat Sep 26 10:17:49 2009 +0000
     1.2 +++ b/src/SDL_error.c	Sat Sep 26 10:19:19 2009 +0000
     1.3 @@ -231,6 +231,9 @@
     1.4      case SDL_EFSEEK:
     1.5          SDL_SetError("Error seeking in datastream");
     1.6          break;
     1.7 +    case SDL_UNSUPPORTED:
     1.8 +        SDL_SetError("That operation is not supported");
     1.9 +        break;
    1.10      default:
    1.11          SDL_SetError("Unknown SDL error");
    1.12          break;