changeset 36950:277be9e37ada

Change variable in if statement in Win32 GUI. Adjust the code to the X11/GTK GUI.
author ib
date Sun, 23 Mar 2014 12:05:32 +0000
parents 6593a01b08c2
children bd4f00c044a9
files gui/win32/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/interface.c	Sun Mar 23 11:57:18 2014 +0000
+++ b/gui/win32/interface.c	Sun Mar 23 12:05:32 2014 +0000
@@ -632,7 +632,7 @@
         case GUI_SET_VIDEO:
         {
             guiInfo.sh_video = data;
-            if (data)
+            if (guiInfo.sh_video)
             {
                 sh_video_t *sh = data;
                 codecname = sh->codec->name;