Fixed bug #765
authorSam Lantinga <slouken@libsdl.org>
Sat, 26 Sep 2009 10:19:19 +0000
changeset 3317 b29eb7ce5352
parent 3316 9cf18687b761
child 3318 f085091f74cd
Fixed bug #765 Added SDL_SetError case for SDL_UNSUPPORTED
src/SDL_error.c
--- a/src/SDL_error.c	Sat Sep 26 10:17:49 2009 +0000
+++ b/src/SDL_error.c	Sat Sep 26 10:19:19 2009 +0000
@@ -231,6 +231,9 @@
     case SDL_EFSEEK:
         SDL_SetError("Error seeking in datastream");
         break;
+    case SDL_UNSUPPORTED:
+        SDL_SetError("That operation is not supported");
+        break;
     default:
         SDL_SetError("Unknown SDL error");
         break;