mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-24 11:54:01 +00:00
The language combo boxes in the chapter editor contain not only the language code but also the full name. So extract the language code from the full string before comparing it.
This commit is contained in:
parent
04b9c742e4
commit
11c401edbd
@ -1,3 +1,8 @@
|
|||||||
|
2005-11-19 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
|
* mmg: bug fix: Fixed a problem with the selection of language
|
||||||
|
codes for chapters in the chapter editor.
|
||||||
|
|
||||||
2005-11-18 Moritz Bunkus <moritz@bunkus.org>
|
2005-11-18 Moritz Bunkus <moritz@bunkus.org>
|
||||||
|
|
||||||
* mkvmerge: bug fix: If at least or more attachments were present
|
* mkvmerge: bug fix: If at least or more attachments were present
|
||||||
|
@ -1983,7 +1983,7 @@ tab_chapters::set_display_values(KaxChapterDisplay *display) {
|
|||||||
count = cob_language_code->GetCount();
|
count = cob_language_code->GetCount();
|
||||||
found = false;
|
found = false;
|
||||||
for (i = 0; i < count; i++)
|
for (i = 0; i < count; i++)
|
||||||
if (cob_language_code->GetString(i) == language) {
|
if (extract_language_code(cob_language_code->GetString(i)) == language) {
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user