[MPlayer-cvslog] r36995 - trunk/gui/win32/widgetrender.c

ib subversion at mplayerhq.hu
Wed Mar 12 12:24:23 CET 2014


Author: ib
Date: Wed Mar 12 12:24:23 2014
New Revision: 36995

Log:
Cosmetic: Adjust indent.

Modified:
   trunk/gui/win32/widgetrender.c

Modified: trunk/gui/win32/widgetrender.c
==============================================================================
--- trunk/gui/win32/widgetrender.c	Wed Mar 12 12:23:31 2014	(r36994)
+++ trunk/gui/win32/widgetrender.c	Wed Mar 12 12:24:23 2014	(r36995)
@@ -341,13 +341,13 @@ void renderwidget(skin_t *skin, image *d
         }
         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);


More information about the MPlayer-cvslog mailing list