smash_i18n only used in NO_SDLPANGO builds
This commit is contained in:
parent
db4ad99ad8
commit
7352e86848
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue