From 0990e2250cbf02563701ef76a3f04d194ab4b487 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 26 Sep 2009 10:19:19 +0000 Subject: [PATCH] Fixed bug #765 Added SDL_SetError case for SDL_UNSUPPORTED --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403909 --- src/SDL_error.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SDL_error.c b/src/SDL_error.c index 9556317e1..fdd72e80c 100644 --- a/src/SDL_error.c +++ b/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;