Skip to content

Commit

Permalink
LinGui: Fix audio and subtitle lang list "Unknown" entry
Browse files Browse the repository at this point in the history
It should read "Any" instead of "Unknown" for these lists.
  • Loading branch information
jstebbins committed Sep 16, 2016
1 parent 45745f9 commit ce96a7a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gtk/src/hb-backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -2750,8 +2750,12 @@ void ghb_init_lang_list_box(GtkListBox *list_box)
iso639 = lang_get_next(iso639), ii++)
{
const char *lang;
if (iso639->native_name != NULL &&
iso639->native_name[0] != 0)
if (ii == 0)
{
lang = _("Any");
}
else if (iso639->native_name != NULL &&
iso639->native_name[0] != 0)
{
lang = iso639->native_name;
}
Expand Down

0 comments on commit ce96a7a

Please sign in to comment.