Skip to content

Commit

Permalink
LinGui: fix display of chapter start time
Browse files Browse the repository at this point in the history
they were all showing 0:00 start time :(
  • Loading branch information
jstebbins committed Dec 10, 2019
1 parent 23b07d0 commit 4e56686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk/src/chapters.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand All @@ -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");
Expand Down

0 comments on commit 4e56686

Please sign in to comment.