changeset 36899:a75d1fce0822

Cosmetic: Adjust indent.
author ib
date Wed, 12 Mar 2014 11:24:23 +0000
parents 049db0aeea85
children ecf965eee74d
files gui/win32/widgetrender.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/widgetrender.c	Wed Mar 12 11:23:31 2014 +0000
+++ b/gui/win32/widgetrender.c	Wed Mar 12 11:24:23 2014 +0000
@@ -341,13 +341,13 @@
         }
         else
         {
-        /* repaint the area behind the slider */
-        render(skin->desktopbpp, dest, find_background(skin, item), item->wx, item->wy, item->wx, item->wy, item->wwidth, item->height, 1);
-        item->x = item->value * (item->wwidth-item->width) / 100 + item->wx;
-        if((item->x + item->width) > (item->wx + item->wwidth))
-            item->x = item->wx + item->wwidth - item->width;
-        if(item->x < item->wx)
-            item->x = item->wx;
+            /* repaint the area behind the slider */
+            render(skin->desktopbpp, dest, find_background(skin, item), item->wx, item->wy, item->wx, item->wy, item->wwidth, item->height, 1);
+            item->x = item->value * (item->wwidth-item->width) / 100 + item->wx;
+            if((item->x + item->width) > (item->wx + item->wwidth))
+                item->x = item->wx + item->wwidth - item->width;
+            if(item->x < item->wx)
+                item->x = item->wx;
         }
     }
     render(skin->desktopbpp, dest, img, item->x, item->y, 0, y, img->width, height, 1);