changeset 36979:14fa9031f766

Cosmetic: Rename goto labels.
author ib
date Wed, 26 Mar 2014 16:54:31 +0000
parents 3f306145b3da
children 7ed97bf8eef9
files gui/ui/render.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/render.c	Wed Mar 26 16:44:27 2014 +0000
+++ b/gui/ui/render.c	Wed Mar 26 16:54:31 2014 +0000
@@ -54,15 +54,13 @@
             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 @@
 
             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);