| Summary: | Added SDL_SetError case for SDL_UNSUPPORTED | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Mason Wheeler <masonwheeler> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Windows Vista | ||
Fixed in subversion, thanks! |
Index: SDL_error.c =================================================================== --- SDL_error.c (revision 4599) +++ SDL_error.c (working copy) @@ -231,6 +231,9 @@ case SDL_EFSEEK: SDL_SetError("Error seeking in datastream"); break; + case SDL_UNSUPPORTED: + SDL_SetError("The requested operation was not supported"); + break; default: SDL_SetError("Unknown SDL error"); break;