diff options
author | John Stebbins <[email protected]> | 2016-12-29 09:16:17 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-12-29 09:16:17 -0700 |
commit | da3c7963a3ad43cfec616714bbc4a68671350c74 (patch) | |
tree | 7434da585f6f11842001b3c1291347abe7d0d404 /test/test.c | |
parent | 7686d1fed5998c58f26782cfce9be3360c9284bc (diff) |
CLI: fix csv file chapter import
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.c b/test/test.c index ae7f8bfa3..b207e3c37 100644 --- a/test/test.c +++ b/test/test.c @@ -3989,12 +3989,12 @@ PrepareJob(hb_handle_t *h, hb_title_t *title, hb_dict_t *preset_dict) return NULL; } - if (hb_value_get_bool(hb_dict_get(job_dict, "ChapterMarkers"))) + hb_dict_t *dest_dict = hb_dict_get(job_dict, "Destination"); + if (hb_value_get_bool(hb_dict_get(dest_dict, "ChapterMarkers"))) { write_chapter_names(job_dict, marker_file); } - hb_dict_t *dest_dict = hb_dict_get(job_dict, "Destination"); hb_dict_set(dest_dict, "File", hb_value_string(output)); // Now that the job is initialized, we need to find out |