changeset 36893:87e6a09a07a7

Cosmetic: Adjust indent.
author ib
date Mon, 10 Mar 2014 17:35:07 +0000
parents f50427ad9ff6
children 669e2f7fb150
files gui/win32/gui.c gui/win32/skinload.c
diffstat 2 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/gui.c	Mon Mar 10 17:32:29 2014 +0000
+++ b/gui/win32/gui.c	Mon Mar 10 17:35:07 2014 +0000
@@ -933,8 +933,7 @@
                             item->x = GET_X_LPARAM(lParam);
                             wd = item->wwidth;
                         }
-                        else
-                        item->x = GET_X_LPARAM(lParam) - gui->mousewx;
+                        else item->x = GET_X_LPARAM(lParam) - gui->mousewx;
 
                         item->value = ((item->x - item->wx) * 100.0f) / (float) wd;
                     }
--- a/gui/win32/skinload.c	Mon Mar 10 17:32:29 2014 +0000
+++ b/gui/win32/skinload.c	Mon Mar 10 17:35:07 2014 +0000
@@ -373,9 +373,9 @@
         else mywidget->type = tyHpotmeter;
         if (*desc != 'p')
         {
-        mywidget->bitmap[i++] = pngRead(skin, findnextstring(temp, desc, &base));
-        mywidget->width = atoi(findnextstring(temp, desc, &base));
-        mywidget->height = atoi(findnextstring(temp, desc, &base));
+            mywidget->bitmap[i++] = pngRead(skin, findnextstring(temp, desc, &base));
+            mywidget->width = atoi(findnextstring(temp, desc, &base));
+            mywidget->height = atoi(findnextstring(temp, desc, &base));
         }
         mywidget->bitmap[i] = pngRead(skin, findnextstring(temp, desc, &base));
         mywidget->phases = atoi(findnextstring(temp, desc, &base));