We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 765

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   

Description Mason Wheeler 2009-07-06 13:48:11 UTC
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;
Comment 1 Sam Lantinga 2009-09-26 03:19:33 UTC
Fixed in subversion, thanks!