diff gui/win32/dialogs.c @ 33615:1f9a31d4f114

Replace all playback integer constants by their symbolic constants.
author ib
date Wed, 22 Jun 2011 12:53:30 +0000
parents 79743a5cf4f0
children dbca6aa18b50
line wrap: on
line diff
--- a/gui/win32/dialogs.c	Wed Jun 22 12:12:50 2011 +0000
+++ b/gui/win32/dialogs.c	Wed Jun 22 12:53:30 2011 +0000
@@ -159,7 +159,7 @@
     char subtitlefile[MAX_PATH];
 
     /* Safety check */
-    if (guiInfo.Playing == 0 || !guiInfo.sh_video) return;
+    if (guiInfo.Playing == GUI_STOP || !guiInfo.sh_video) return;
 
     memset(&subtitleopen, 0, sizeof(OPENFILENAME));
     memset(subtitlefile, 0, sizeof(subtitlefile));