summaryrefslogtreecommitdiff
path: root/src/utils/gettext.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-17 15:22:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-17 15:22:59 +0300
commit17c09b82f9cef2c97740ed38bd2001620035892a (patch)
tree4c0a8f2b1f18b42a07e2d0579e765388a0807932 /src/utils/gettext.h
parentf5cff2578b7dc6a8bef389d6bac8df9596cf03bd (diff)
downloadplus-17c09b82f9cef2c97740ed38bd2001620035892a.tar.gz
plus-17c09b82f9cef2c97740ed38bd2001620035892a.tar.bz2
plus-17c09b82f9cef2c97740ed38bd2001620035892a.tar.xz
plus-17c09b82f9cef2c97740ed38bd2001620035892a.zip
Fix warning wih disabled NLS.
Diffstat (limited to 'src/utils/gettext.h')
-rw-r--r--src/utils/gettext.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/utils/gettext.h b/src/utils/gettext.h
index 8bb41a4cb..f9aae5a71 100644
--- a/src/utils/gettext.h
+++ b/src/utils/gettext.h
@@ -29,13 +29,12 @@
#include <libintl.h>
-#if ENABLE_NLS
+#ifdef ENABLE_NLS
#define _(s) (const_cast <char*>(gettext(s)))
#define N_(s) (const_cast <char*>(s))
#else
-
#define gettext(s) (const_cast <char*>(s))
#define _(s) (const_cast <char*>(s))
#define N_(s) (const_cast <char*>(s))