# HG changeset patch # User Sam Lantinga # Date 1253960359 0 # Node ID b29eb7ce53527a03b8d5323efabc2b6011981938 # Parent 9cf18687b761979dadd13b4e53d99328d0967cd0 Fixed bug #765 Added SDL_SetError case for SDL_UNSUPPORTED diff -r 9cf18687b761 -r b29eb7ce5352 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;