remove unused unjustified cruft
This commit is contained in:
parent
f9df7d75eb
commit
a4f06cb79c
1 changed files with 0 additions and 13 deletions
13
src/i18n.c
13
src/i18n.c
|
|
@ -667,19 +667,6 @@ void show_locale_usage(FILE * f, const char *const prg)
|
||||||
|
|
||||||
void setup_language(const char *const prg, int * y_nudge)
|
void setup_language(const char *const prg, int * y_nudge)
|
||||||
{
|
{
|
||||||
|
|
||||||
// Justify this or delete it. It seems to make Tux Paint
|
|
||||||
// violate the behavior documented by "man 7 locale".
|
|
||||||
#if 0
|
|
||||||
if (langstr == NULL && getenv("LANG"))
|
|
||||||
{
|
|
||||||
if (!strncasecmp(getenv("LANG"), "lt_LT", 5))
|
|
||||||
set_langstr("lithuanian");
|
|
||||||
if (!strncasecmp(getenv("LANG"), "pl_PL", 5))
|
|
||||||
set_langstr("polish");
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (langstr != NULL)
|
if (langstr != NULL)
|
||||||
{
|
{
|
||||||
int i =
|
int i =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue