summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-12-10 09:17:58 -0800
committerJohn Stebbins <[email protected]>2019-12-10 09:17:58 -0800
commit4e566864794df77ff9ab1c998531b06c88fa7151 (patch)
tree8a67d129d1a1ab7ed45fb70773751d49a3a6a611
parent23b07d0a4857c9d279388da319b1582e0bcbb889 (diff)
LinGui: fix display of chapter start time
they were all showing 0:00 start time :(
-rw-r--r--gtk/src/chapters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/chapters.c b/gtk/src/chapters.c
index eb911579a..5227d58b7 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");