This commit is contained in:
Albert Cahalan 2009-11-22 05:05:14 +00:00
parent c42798e061
commit c0ce0c05b5

View file

@ -657,6 +657,7 @@ static int set_current_language(void)
fflush(stderr); fflush(stderr);
#endif #endif
printf("lang_prefixes[%d] is \"%s\"\n", get_current_language(), lang_prefixes[get_current_language()]);
return y_nudge; return y_nudge;
} }
@ -688,9 +689,7 @@ int setup_i18n(const char *restrict lang, const char *restrict locale)
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
} }
ctype_utf8(); ctype_utf8();
int y_nudge = set_current_language(); return set_current_language();
printf("lang_prefixes[%d] is \"%s\"\n", get_current_language(), lang_prefixes[get_current_language()]);
return y_nudge;
} }
int smash_i18n(void) int smash_i18n(void)