i18n code was checking for local-related environment variables
(e.g., "getenv("LANGUAGE")") coming back as a NULL if unset.
However, on my laptop, under Kubuntu 20.04 with GLIBC 2.31, a
"LANGUAGE" env. var. is set, but it's blank.
Tux Paint failed to attempt any fallback (e.g., checking "LANG")
in that situation, which was causing the description text corruption
that was corrected in a previous commit.
That commit also mistakenly suggested that the issue might've been a
difference with GCC versions, but the problem was deeper in Tux Paint's
code (in i18n.c), and was triggered by an unexpected environment.
|
||
|---|---|---|
| .. | ||
| COPYING | ||
| de | ||
| en | ||
| es | ||
| fr | ||
| gl | ||
| html/images | ||
| it | ||
| ja | ||
| ko | ||
| nl | ||
| nn | ||
| pl | ||
| pt_br | ||
| ru | ||
| uk | ||
| zh_cn | ||
| zh_tw | ||
| AUTHORS.txt | ||
| CHANGES.txt | ||
| COPYING.txt | ||
| default_colors.txt | ||
| dejavu.txt | ||
| Makefile | ||
| README.txt | ||
| RELEASE.txt | ||
See [locale]/html/README.html or [locale]/README.txt.