mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 12:27:21 +00:00
Fixed the order of the options --chapters, --chapter-language and --chapter-charset.
This commit is contained in:
parent
05337a1d88
commit
91ffdb6bff
@ -701,10 +701,6 @@ void mmg_dialog::update_command_line() {
|
||||
}
|
||||
|
||||
if (global_page->tc_chapters->GetValue().Length() > 0) {
|
||||
cmdline += "--chapters \"" +
|
||||
shell_escape(global_page->tc_chapters->GetValue()) + "\" ";
|
||||
clargs.Add("--chapters");
|
||||
clargs.Add(global_page->tc_chapters->GetValue());
|
||||
if (global_page->cob_chap_language->GetValue().Length() > 0) {
|
||||
cmdline += "--chapter-language \"" +
|
||||
shell_escape(extract_language_code(global_page->
|
||||
@ -721,6 +717,11 @@ void mmg_dialog::update_command_line() {
|
||||
clargs.Add("--chapter-charset");
|
||||
clargs.Add(global_page->cob_chap_charset->GetValue());
|
||||
}
|
||||
|
||||
cmdline += "--chapters \"" +
|
||||
shell_escape(global_page->tc_chapters->GetValue()) + "\" ";
|
||||
clargs.Add("--chapters");
|
||||
clargs.Add(global_page->tc_chapters->GetValue());
|
||||
}
|
||||
|
||||
if (global_page->tc_global_tags->GetValue().Length() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user