diff Gui/win32/interface.c @ 19718:e701a6eed5cb

ISO C90 warnings fixes
author vayne
date Wed, 06 Sep 2006 17:44:41 +0000
parents 69b134c4caea
children b42f1c1ef651
line wrap: on
line diff
--- a/Gui/win32/interface.c	Wed Sep 06 17:40:55 2006 +0000
+++ b/Gui/win32/interface.c	Wed Sep 06 17:44:41 2006 +0000
@@ -550,12 +550,11 @@
 /* this function gets called by mplayer to update the gui */
 int guiGetEvent(int type, char *arg)
 {
-    if(!mygui || !mygui->skin) return 0;
-
     stream_t *stream = (stream_t *) arg;
 #ifdef USE_DVDREAD
     dvd_priv_t *dvdp = (dvd_priv_t *) arg;
 #endif
+    if(!mygui || !mygui->skin) return 0;
 
     switch (type)
     {