changeset 35426:fb3c60a47b2c

Cosmetic: Prettify uiPrev().
author ib
date Fri, 30 Nov 2012 09:48:54 +0000
parents e9f57004e925
children 4aaf382ce9d6
files gui/ui/actions.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Fri Nov 30 09:42:23 2012 +0000
+++ b/gui/ui/actions.c	Fri Nov 30 09:48:54 2012 +0000
@@ -267,25 +267,29 @@
 
 void uiPrev(void)
 {
+    int stop = 0;
     plItem *prev;
-    int stop = 0;
 
     if (guiInfo.Playing == GUI_PAUSE)
         return;
 
     switch (guiInfo.StreamType) {
     case STREAMTYPE_CDDA:
+
         if (--guiInfo.Track == 0) {
             guiInfo.Track = 1;
             stop = 1;
         }
+
         break;
 
     case STREAMTYPE_VCD:
+
         if (--guiInfo.Track == 1) {
             guiInfo.Track = 2;
             stop = 1;
         }
+
         break;
 
     case STREAMTYPE_DVD: