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

ib subversion at mplayerhq.hu
Wed Mar 26 17:54:31 CET 2014


Author: ib
Date: Wed Mar 26 17:54:31 2014
New Revision: 37075

Log:
Cosmetic: Rename goto labels.

Modified:
   trunk/gui/ui/render.c

Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c	Wed Mar 26 17:44:27 2014	(r37074)
+++ trunk/gui/ui/render.c	Wed Mar 26 17:54:31 2014	(r37075)
@@ -54,15 +54,13 @@ static char *TranslateVariables(const ch
             switch (text[++i]) {
             case '1':
                 t = guiInfo.ElapsedTime;
-calclengthhhmmss:
-                snprintf(trans, sizeof(trans), "%02d:%02d:%02d", t / 3600, t / 60 % 60, t % 60);
+HH_MM_SS:       snprintf(trans, sizeof(trans), "%02d:%02d:%02d", t / 3600, t / 60 % 60, t % 60);
                 av_strlcat(translation, trans, sizeof(translation));
                 break;
 
             case '2':
                 t = guiInfo.ElapsedTime;
-calclengthmmmmss:
-                snprintf(trans, sizeof(trans), "%04d:%02d", t / 60, t % 60);
+MMMM_SS:        snprintf(trans, sizeof(trans), "%04d:%02d", t / 60, t % 60);
                 av_strlcat(translation, trans, sizeof(translation));
                 break;
 
@@ -83,11 +81,11 @@ calclengthmmmmss:
 
             case '6':
                 t = guiInfo.RunningTime;
-                goto calclengthhhmmss;
+                goto HH_MM_SS;
 
             case '7':
                 t = guiInfo.RunningTime;
-                goto calclengthmmmmss;
+                goto MMMM_SS;
 
             case '8':
                 snprintf(trans, sizeof(trans), "%01d:%02d:%02d", guiInfo.ElapsedTime / 3600, (guiInfo.ElapsedTime / 60) % 60, guiInfo.ElapsedTime % 60);


More information about the MPlayer-cvslog mailing list