changeset 37013:11d2d0444f42

Cosmetic: Add blank line and adjust indent.
author ib
date Sat, 29 Mar 2014 14:09:14 +0000
parents 79c50282f8ab
children 01b3cd8a1e76
files gui/ui/render.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/render.c	Sat Mar 29 13:59:45 2014 +0000
+++ b/gui/ui/render.c	Sat Mar 29 14:09:14 2014 +0000
@@ -461,6 +461,7 @@
             break;
 
         case itDLabel:
+
             t = TranslateVariables(item->label);
 
             if (!item->text || (strcmp(item->text, t) != 0)) {
@@ -474,7 +475,7 @@
             d = GetTimerMS() - item->starttime;
 
             if (d < DLABEL_DELAY)
-                x = item->last_x;                     // don't scroll yet
+                x = item->last_x;                   // don't scroll yet
             else {
                 int l;
                 char c[2];
@@ -485,8 +486,8 @@
                 c[1] = '\0';
 
                 if (x < (fntTextWidth(item->fontid, c) + 1) >> 1) {
-                    item->starttime = GetTimerMS();   // stop again
-                    item->last_x    = x;              // at current x pos
+                    item->starttime = GetTimerMS(); // stop again
+                    item->last_x    = x;            // at current x pos
                 }
             }