summaryrefslogtreecommitdiffstats
path: root/gtk/src/subtitlehandler.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2015-10-01 13:15:22 -0700
committerJohn Stebbins <[email protected]>2015-10-01 13:15:22 -0700
commit74d6f3349fc8c3e1b99363fde967c2fccf6253de (patch)
tree1cee8009d9396b849890eeaa4f48ad9ece3e02b8 /gtk/src/subtitlehandler.c
parentb6634518e840e8055bd98e81abef62d4c55adafb (diff)
LinGui: generalize initialization of Combo boxes
Diffstat (limited to 'gtk/src/subtitlehandler.c')
-rw-r--r--gtk/src/subtitlehandler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/subtitlehandler.c b/gtk/src/subtitlehandler.c
index 22d034475..766c7af1e 100644
--- a/gtk/src/subtitlehandler.c
+++ b/gtk/src/subtitlehandler.c
@@ -1393,7 +1393,7 @@ subtitle_remove_lang_clicked_cb(GtkWidget *widget, signal_user_data_t *ud)
{
const iso639_lang_t *lang;
GhbValue *entry = ghb_array_get(lang_list, 0);
- lang = ghb_iso639_lookup_by_int(ghb_lookup_audio_lang(entry));
+ lang = ghb_iso639_lookup_by_int(ghb_lookup_lang(entry));
subtitle_update_pref_lang(ud, lang);
}
else
@@ -1442,7 +1442,7 @@ static void subtitle_def_lang_list_init(signal_user_data_t *ud)
for (ii = 0; ii < count; )
{
GhbValue *lang_val = ghb_array_get(lang_list, ii);
- int idx = ghb_lookup_audio_lang(lang_val);
+ int idx = ghb_lookup_lang(lang_val);
if (ii == 0)
{
const iso639_lang_t *lang;