changeset 19943:ef30bef09385

when changing chapter, in the osd print the channel number in a more natural form: 1-based (rather than 0-based)
author nicodvb
date Sat, 23 Sep 2006 10:27:32 +0000
parents 0983feab2dc2
children 44193c0a688f
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Sep 23 09:18:20 2006 +0000
+++ b/mplayer.c	Sat Sep 23 10:27:32 2006 +0000
@@ -5140,7 +5140,7 @@
             }
             if(chapter_name) {
                 set_osd_msg(OSD_MSG_TEXT, 1, osd_duration, MSGTR_OSDChapter,
-                chap, chapter_name);
+                chap+1, chapter_name);
                 free(chapter_name);
             }
         } else {