QTfrontend/ui/widget/about.cpp
changeset 11389 95d5badcb44f
parent 11342 ed5a6478e710
child 11835 6078cf0e4944
--- a/QTfrontend/ui/widget/about.cpp	Sun Nov 15 13:35:23 2015 +0100
+++ b/QTfrontend/ui/widget/about.cpp	Sun Nov 15 14:01:29 2015 +0100
@@ -103,19 +103,15 @@
 
     const SDL_version *sdl_ver;
     SDL_version sdl_version;
-#if SDL_MAJOR_VERSION == 2
     SDL_GetVersion(&sdl_version);
     sdl_ver = &sdl_version;
-#else
-    sdl_ver = SDL_Linked_Version();
-#endif
-    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL</a> version: %1.%2.%3<br>")
+    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL2</a> version: %1.%2.%3<br>")
         .arg(sdl_ver->major)
         .arg(sdl_ver->minor)
         .arg(sdl_ver->patch));
 
     const SDL_version *sdlmixer_ver = Mix_Linked_Version();
-    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL_mixer</a> version: %1.%2.%3<br>")
+    libinfo.append(QString("<a href=\"http://www.libsdl.org/\">SDL2_mixer</a> version: %1.%2.%3<br>")
         .arg(sdlmixer_ver->major)
         .arg(sdlmixer_ver->minor)
         .arg(sdlmixer_ver->patch));