[MPlayer-cvslog] r37109 - trunk/gui/ui/render.c

ib subversion at mplayerhq.hu
Sat Mar 29 15:09:14 CET 2014


Author: ib
Date: Sat Mar 29 15:09:14 2014
New Revision: 37109

Log:
Cosmetic: Add blank line and adjust indent.

Modified:
   trunk/gui/ui/render.c

Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c	Sat Mar 29 14:59:45 2014	(r37108)
+++ trunk/gui/ui/render.c	Sat Mar 29 15:09:14 2014	(r37109)
@@ -461,6 +461,7 @@ void RenderAll(wsWindow *window, guiItem
             break;
 
         case itDLabel:
+
             t = TranslateVariables(item->label);
 
             if (!item->text || (strcmp(item->text, t) != 0)) {
@@ -474,7 +475,7 @@ void RenderAll(wsWindow *window, guiItem
             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 @@ void RenderAll(wsWindow *window, guiItem
                 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
                 }
             }
 


More information about the MPlayer-cvslog mailing list