# HG changeset patch # User alex # Date 1041089594 0 # Node ID 544bb92b62e5121bf3953a1b5226ab64ae976aea # Parent a879b231b7e3b13e7187b8666bade7a328b05cf5 fixed 2 10l-s diff -r a879b231b7e3 -r 544bb92b62e5 mplayer.c --- 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