1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Only lowercase project name at compile time

This commit is contained in:
ShadowNinja
2015-04-21 11:09:44 -04:00
parent e0eec201a1
commit 3be9787e64
4 changed files with 11 additions and 11 deletions

View File

@@ -236,9 +236,8 @@ void init_gettext(const char *path, const std::string &configured_language) {
#endif
#endif
static std::string name = lowercase(PROJECT_NAME);
bindtextdomain(name.c_str(), path);
textdomain(name.c_str());
bindtextdomain(PROJECT_NAME_LOWER, path);
textdomain(PROJECT_NAME_LOWER);
#if defined(_WIN32)
// Set character encoding for Win32