Mercurial > sdl-ios-xcode
changeset 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 | 9cf18687b761 |
children | f085091f74cd |
files | src/SDL_error.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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;