summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-09-26 15:35:24 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-09-26 15:35:24 -0400
commit7db5e19f7499cce5b86d63f8af5ae5ecf7245bf0 (patch)
tree532fc89a01b88eb427d714940b015a61a7e960cb /src/modules.cpp
parentf3840ed110ecaac1a2777692b714f283600d9afa (diff)
Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 47158f5e9..127620333 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -308,7 +308,7 @@ void Module::SendMessage(BotInfo *from, User *to, const char *fmt, ...)
language = Config->NSDefLanguage;
const char *message = fmt;
-#if HAVE_GETTEXT
+#if GETTEXT_FOUND
if (!language.empty())
{
setlocale(LC_ALL, language.c_str());