Mercurial > sdl-ios-xcode
diff src/SDL_error.c @ 3317:b29eb7ce5352
Fixed bug #765
Added SDL_SetError case for SDL_UNSUPPORTED
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 26 Sep 2009 10:19:19 +0000 |
parents | 8cc00819c8d6 |
children | f7b03b6838cb |
line wrap: on
line diff
--- 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;