From 4e566864794df77ff9ab1c998531b06c88fa7151 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 10 Dec 2019 09:17:58 -0800 Subject: [PATCH] LinGui: fix display of chapter start time they were all showing 0:00 start time :( --- gtk/src/chapters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/src/chapters.c b/gtk/src/chapters.c index eb911579a907..5227d58b7c87 100644 --- a/gtk/src/chapters.c +++ b/gtk/src/chapters.c @@ -172,6 +172,7 @@ chapter_refresh_list_ui(signal_user_data_t *ud) GtkListBox * lb; GtkWidget * row; gint ii, count; + int64_t start = 0, duration; lb = GTK_LIST_BOX(GHB_WIDGET(ud->builder, "chapters_list")); @@ -182,7 +183,6 @@ chapter_refresh_list_ui(signal_user_data_t *ud) GhbValue * chapter_dict; GhbValue * duration_dict; const char * name; - int64_t start = 0, duration; chapter_dict = ghb_array_get(chapter_list, ii); name = ghb_dict_get_string(chapter_dict, "Name");