Skip to content

Commit

Permalink
LinGui: fix segfault
Browse files Browse the repository at this point in the history
value initialized to incorrect type
  • Loading branch information
jstebbins committed Nov 2, 2015
1 parent e0f9ebd commit c518c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtk/src/callbacks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ set_title_settings(signal_user_data_t *ud, GhbValue *settings)
gint num_chapters = hb_list_count(title->list_chapter);

ghb_dict_set_int(settings, "angle", 1);
ghb_dict_set_int(settings, "PtoPType", 0);
ghb_dict_set_string(settings, "PtoPType", "chapter");
ghb_dict_set_int(settings, "start_point", 1);
ghb_dict_set_int(settings, "end_point", num_chapters);
ghb_dict_set_int(settings, "source_width", title->geometry.width);
Expand Down

0 comments on commit c518c56

Please sign in to comment.