Fix incorrect SDL_UnloadObject usage in about.cpp (copy-paste fail)
authorWuzzy <almikes@aol.com>
Mon, 24 Apr 2017 13:53:34 +0200
changeset 12320 0f98d45204d7
parent 12319 a57243490831
child 12321 d09eba2e1dd8
Fix incorrect SDL_UnloadObject usage in about.cpp (copy-paste fail)
QTfrontend/ui/widget/about.cpp
--- a/QTfrontend/ui/widget/about.cpp	Sun Apr 23 22:21:41 2017 +0200
+++ b/QTfrontend/ui/widget/about.cpp	Mon Apr 24 13:53:34 2017 +0200
@@ -152,7 +152,7 @@
                 .arg(sdlimage_ver->patch));
             libinfo.append(QString("<br>"));
         }
-        SDL_UnloadObject(sdlnet_handle);
+        SDL_UnloadObject(sdlimage_handle);
     }
 
     void *sdlttf_handle = SDL_LoadObject(sopath("SDL_ttf"));
@@ -167,7 +167,7 @@
                 .arg(sdlttf_ver->patch));
             libinfo.append(QString("<br>"));
         }
-        SDL_UnloadObject(sdlnet_handle);
+        SDL_UnloadObject(sdlttf_handle);
     }