diff src/audacious/main.c @ 4026:17bf734f8187

avoid crash when audacious is launched with -p option.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Wed, 28 Nov 2007 06:01:28 +0900
parents 40db2fe8d073
children c86f63f652aa
line wrap: on
line diff
--- a/src/audacious/main.c	Tue Nov 27 17:42:52 2007 +0300
+++ b/src/audacious/main.c	Wed Nov 28 06:01:28 2007 +0900
@@ -1206,10 +1206,10 @@
             audacious_remote_activate(session);
 
         exit(EXIT_SUCCESS);
-    }
+    } /* is_running */
     else
 #endif
-    {
+    { /* !is_running */
         if (filenames != NULL)
         {
             gint pos = 0;
@@ -1297,7 +1297,7 @@
 
         if (options->activate)
             drct_activate();
-    }
+    } /* !is_running */
 }
 
 static void