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 - Added SDL_SetError case for SDL_UNSUPPORTED
Summary: Added SDL_SetError case for SDL_UNSUPPORTED
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: x86 Windows Vista
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 13:48 UTC by Mason Wheeler
Modified: 2009-09-26 03:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!