smash_i18n only used in NO_SDLPANGO builds

This commit is contained in:
Albert Cahalan 2009-11-22 10:13:00 +00:00
parent db4ad99ad8
commit 7352e86848
2 changed files with 4 additions and 0 deletions

View file

@ -735,6 +735,7 @@ int setup_i18n(const char *restrict lang, const char *restrict locale)
}
#endif
#ifdef NO_SDLPANGO
int smash_i18n(void)
{
#ifdef ABUSE_ENV
@ -743,3 +744,4 @@ int smash_i18n(void)
#endif
return set_current_language("C");
}
#endif

View file

@ -149,6 +149,8 @@ extern const char *lang_prefix, *short_lang_prefix;
int get_current_language(void);
int setup_i18n(const char *restrict lang, const char *restrict locale) MUST_CHECK;
#ifdef NO_SDLPANGO
int smash_i18n(void) MUST_CHECK;
#endif
#endif