changeset 35518:7d695302b856

Move instruction up. Correcting guiInfo.Track is an uiCurr() call after-treatment.
author ib
date Wed, 05 Dec 2012 13:14:42 +0000
parents 4664688b4f63
children 7f1be403a640
files gui/interface.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Dec 05 13:04:34 2012 +0000
+++ b/gui/interface.c	Wed Dec 05 13:14:42 2012 +0000
@@ -889,12 +889,12 @@
         uiCurr();   // update filename
         guiInfo.PlaylistNext = True;
 
+        if (added)
+            guiInfo.Track = 1;
+
         if (enqueue)
             filename = NULL;            // don't start playing
 
-        if (added)
-            guiInfo.Track = 1;
-
         break;
 
     case GUI_PLAYLIST_ADD: