[MPlayer-cvslog] r34766 - trunk/gui/util/list.c

ib subversion at mplayerhq.hu
Thu Feb 23 13:59:28 CET 2012


Author: ib
Date: Thu Feb 23 13:59:28 2012
New Revision: 34766

Log:
Cosmetic: Adjust indent.

Modified:
   trunk/gui/util/list.c

Modified: trunk/gui/util/list.c
==============================================================================
--- trunk/gui/util/list.c	Thu Feb 23 13:58:21 2012	(r34765)
+++ trunk/gui/util/list.c	Thu Feb 23 13:59:28 2012	(r34766)
@@ -105,22 +105,22 @@ void *listMgr(int cmd, void *data)
     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;
 


More information about the MPlayer-cvslog mailing list