changeset 34678:23f4f2104774

Cosmetic: Adjust indent.
author ib
date Thu, 23 Feb 2012 12:59:28 +0000
parents d3f65dd58eb9
children 6378e3a2ffb8
files gui/util/list.c
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/list.c	Thu Feb 23 12:58:21 2012 +0000
+++ b/gui/util/list.c	Thu Feb 23 12:59:28 2012 +0000
@@ -105,22 +105,22 @@
     case PLAYLIST_ITEM_DEL_CURR:
 
         if (plCurrent) {
-        plItem *curr = plCurrent;
+            plItem *curr = plCurrent;
 
-        if (curr->prev)
-            curr->prev->next = curr->next;
-        if (curr->next)
-            curr->next->prev = curr->prev;
+            if (curr->prev)
+                curr->prev->next = curr->next;
+            if (curr->next)
+                curr->next->prev = curr->prev;
 
-        plCurrent = curr->next;
+            plCurrent = curr->next;
 
-        if (curr == plList)
-            plList = plCurrent;
+            if (curr == plList)
+                plList = plCurrent;
 
-        free(curr->path);
-        free(curr->name);
-        free(curr);
-    }
+            free(curr->path);
+            free(curr->name);
+            free(curr);
+        }
 
         return plCurrent;