Sophie

Sophie

distrib > Arklinux > devel > i586 > by-pkgid > 9482443bfa78fcd0975e9204e634806b > files > 10

mplayer-1.0-0.svn34182.1ark.src.rpm

--- mplayer/mplayer.c.ark	2011-06-06 18:25:56.733227643 +0200
+++ mplayer/mplayer.c	2011-06-06 18:27:47.183224954 +0200
@@ -4169,7 +4169,11 @@ goto_next_file:  // don't jump here afte
     }
 #endif
 
-    if ((use_gui && guiIntfStruct.Playing) || mpctx->playtree_iter != NULL || player_idle_mode) {
+    if (
+#ifdef CONFIG_GUI
+        (use_gui && guiIntfStruct.Playing) ||
+#endif
+	mpctx->playtree_iter != NULL || player_idle_mode) {
         if (!mpctx->playtree_iter)
             filename = NULL;
         mpctx->eof = 0;