Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
intl: fix the C locale selection
  • Loading branch information
perexg committed Jun 22, 2015
1 parent 38a000b commit d6f95cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tvh_locale.c
Expand Up @@ -103,7 +103,7 @@ static void tvh_gettext_new_lang(const char *lang)

tvh_gettext_last_lang = NULL;
tvh_gettext_last_strings = NULL;
for (i = 0, l = tvh_locales; i < ARRAY_SIZE(tvh_locales); i++)
for (i = 0, l = tvh_locales; i < ARRAY_SIZE(tvh_locales); i++, l++)
if (strcmp(lang, l->lang) == 0) {
tvh_gettext_last_lang = l->lang;
tvh_gettext_last_strings = l->strings;
Expand Down

0 comments on commit d6f95cf

Please sign in to comment.