summaryrefslogtreecommitdiffstats
path: root/gtk2/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2/main.c')
-rw-r--r--gtk2/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2/main.c b/gtk2/main.c
index f0d5b406e..d4e4d5d86 100644
--- a/gtk2/main.c
+++ b/gtk2/main.c
@@ -205,9 +205,8 @@ static int HBMain( void *data )
char string[1024];
sprintf( string, "%d - %02dh%02dm%02ds",
- title->index, title->length / 3600,
- ( title->length % 3600 ) / 60,
- title->length % 60 );
+ title->title, title->hours, title->minutes,
+ title->seconds );
item = gtk_menu_item_new_with_mnemonic( string );
gtk_widget_show( item );