changeset 35514:a3ca6d31b29f

Cosmetic: Adjust indent.
author ib
date Wed, 05 Dec 2012 12:28:10 +0000
parents a24abc593a88
children ec1a2fc17ad1
files gui/interface.c
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Dec 05 12:26:32 2012 +0000
+++ b/gui/interface.c	Wed Dec 05 12:28:10 2012 +0000
@@ -874,10 +874,10 @@
         if (!enqueue)
             listMgr(PLAYLIST_DELETE, 0);             // delete playlist before "appending"
 
-            while ((filename = pt_iter_get_next_file(pt_iter)) != NULL)
-                /* add it to end of list */
-                if (add_to_gui_playlist(filename, PLAYLIST_ITEM_APPEND))
-                    added = True;
+        while ((filename = pt_iter_get_next_file(pt_iter)) != NULL)
+            /* add it to end of list */
+            if (add_to_gui_playlist(filename, PLAYLIST_ITEM_APPEND))
+                added = True;
 
         uiCurr();   // update filename
         guiInfo.PlaylistNext = True;
@@ -899,10 +899,10 @@
 
         curr = (plItem *)listMgr(PLAYLIST_ITEM_GET_CURR, 0);
 
-            while ((filename = pt_iter_get_next_file(pt_iter)) != NULL)
-                /* insert it into the list and set plCurrent=new item */
-                if (add_to_gui_playlist(filename, PLAYLIST_ITEM_INSERT))
-                    added = True;
+        while ((filename = pt_iter_get_next_file(pt_iter)) != NULL)
+            /* insert it into the list and set plCurrent=new item */
+            if (add_to_gui_playlist(filename, PLAYLIST_ITEM_INSERT))
+                added = True;
 
         if (curr)
             listMgr(PLAYLIST_ITEM_SET_CURR, curr);