From 8ade067b5487cc799870ed575c71ebf47b1a0f69 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Wed, 3 Mar 2010 20:46:21 +0000 Subject: [PATCH] SDL: fixed compile error introduced in last revision --- src/drivers/sdl/sdl.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/drivers/sdl/sdl.cpp b/src/drivers/sdl/sdl.cpp index 7c3df49e..528220b9 100644 --- a/src/drivers/sdl/sdl.cpp +++ b/src/drivers/sdl/sdl.cpp @@ -154,7 +154,7 @@ static void ShowUsage(char *prog) #endif puts(""); printf("Compiled with SDL version %d.%d.%d\n", SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL ); - SDL_Version* v = SDL_Linked_Version(); + const SDL_version* v = SDL_Linked_Version(); printf("Linked with SDL version %d.%d.%d\n", v->major, v->minor, v->patch); #ifdef GTK_LITE printf("Compiled with GTK version %d.%d.%d\n", GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION ); @@ -675,16 +675,15 @@ SDL_GL_LoadLibrary(0); } g_config->setOption("SDL.RipSubs", ""); - if (!s.empty()) - for(int i=0; i