Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug #765

Added SDL_SetError case for SDL_UNSUPPORTED
  • Loading branch information
slouken committed Sep 26, 2009
1 parent 23900a0 commit 62610dad95df26c03695cd68e1e6c76f474d5351
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/SDL_error.c
@@ -231,6 +231,9 @@ SDL_Error(SDL_errorcode code)
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;

0 comments on commit 62610da

Please sign in to comment.