diff options
author | John Stebbins <[email protected]> | 2015-11-02 15:19:30 -0800 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-11-02 15:20:30 -0800 |
commit | c518c56098354c7e953d4c2397970245046520df (patch) | |
tree | b35460e3ab34aa498b85184b02728073d6ee4f00 /gtk/src | |
parent | e0f9ebd0b84ed438e6b11966867c07d29a07d78c (diff) |
LinGui: fix segfault
value initialized to incorrect type
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index e77e90de4..897a64985 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -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); |