changeset 8619:544bb92b62e5

fixed 2 10l-s
author alex
date Sat, 28 Dec 2002 15:33:14 +0000
parents a879b231b7e3
children 2cf0d03e65c6
files mplayer.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Dec 28 15:19:41 2002 +0000
+++ b/mplayer.c	Sat Dec 28 15:33:14 2002 +0000
@@ -2964,7 +2964,7 @@
 	  osd_show_vobsub_changed--;
       } else
       if (osd_show_sub_delay) {
-	  sprintf(osd_text_tmp, "Sub delay: %d ms %.10f", ROUND(sub_delay*1000));
+	  sprintf(osd_text_tmp, "Sub delay: %d ms", ROUND(sub_delay*1000));
 	  osd_show_sub_delay--;
       } else
       if (osd_show_sub_pos) {
@@ -2990,8 +2990,8 @@
           }
           if (percentage >= 0)
             sprintf(percentage_text, " (%d%%)", percentage);
-          else
-            sprintf(percentage_text, "");
+	  else
+	    percentage_text[0] = 0;
           if (osd_level == 3) 
             sprintf(osd_text_tmp,"%c %02d:%02d:%02d / %02d:%02d:%02d%s",osd_function,pts/3600,(pts/60)%60,pts%60,len/3600,(len/60)%60,len%60,percentage_text);
           else