Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3316:9cf18687b761 | 3317:b29eb7ce5352 |
---|---|
229 SDL_SetError("Error writing to datastream"); | 229 SDL_SetError("Error writing to datastream"); |
230 break; | 230 break; |
231 case SDL_EFSEEK: | 231 case SDL_EFSEEK: |
232 SDL_SetError("Error seeking in datastream"); | 232 SDL_SetError("Error seeking in datastream"); |
233 break; | 233 break; |
234 case SDL_UNSUPPORTED: | |
235 SDL_SetError("That operation is not supported"); | |
236 break; | |
234 default: | 237 default: |
235 SDL_SetError("Unknown SDL error"); | 238 SDL_SetError("Unknown SDL error"); |
236 break; | 239 break; |
237 } | 240 } |
238 } | 241 } |