summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))