[MPlayer-cvslog] r38037 - trunk/gui/ui/actions.c

ib subversion at mplayerhq.hu
Wed Apr 4 17:31:26 EEST 2018


Author: ib
Date: Wed Apr  4 17:31:26 2018
New Revision: 38037

Log:
Make use of the window type enumeration constants.

Modified:
   trunk/gui/ui/actions.c

Modified: trunk/gui/ui/actions.c
==============================================================================
--- trunk/gui/ui/actions.c	Wed Apr  4 01:10:39 2018	(r38036)
+++ trunk/gui/ui/actions.c	Wed Apr  4 17:31:26 2018	(r38037)
@@ -375,11 +375,11 @@ play:
     case evIconify:
 
         switch (iparam) {
-        case 0:
+        case wMain:
             wsWindowIconify(&guiApp.mainWindow);
             break;
 
-        case 1:
+        case wVideo:
             wsWindowIconify(&guiApp.videoWindow);
             break;
         }


More information about the MPlayer-cvslog mailing list