# HG changeset patch # User ib # Date 1396102154 0 # Node ID 11d2d0444f4254515e76ff9a525e35caf216561f # Parent 79c50282f8ab6125c9ae0b616cb500f7b24df48e Cosmetic: Add blank line and adjust indent. diff -r 79c50282f8ab -r 11d2d0444f42 gui/ui/render.c --- 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 } }