Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug #765
Browse files Browse the repository at this point in the history
Added SDL_SetError case for SDL_UNSUPPORTED
  • Loading branch information
slouken committed Sep 26, 2009
1 parent 23900a0 commit 62610da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SDL_error.c
Expand Up @@ -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;
Expand Down

0 comments on commit 62610da

Please sign in to comment.