summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Gui/mplayer/mplayer.c')
-rw-r--r--Gui/mplayer/mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gui/mplayer/mplayer.c b/Gui/mplayer/mplayer.c
index 7b1fdc8155..68c5a18815 100644
--- a/Gui/mplayer/mplayer.c
+++ b/Gui/mplayer/mplayer.c
@@ -54,10 +54,10 @@ void mplInit( void * disp )
// read gui.conf, gui.pl
cfg_read();
-#endif
// opens X display, checks for extensions (XShape, DGA etc)
wsXInit( disp );
+#endif
if ( ( mplDrawBuffer = (unsigned char *)calloc( 1,appMPlayer.main.Bitmap.ImageSize ) ) == NULL )
{