summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-08-10 20:37:22 -0600
committerJared Adams <jaxad0127@gmail.com>2009-08-10 20:37:22 -0600
commit843fbb7fac79d1e0340fe489e8e78e4a41b3da43 (patch)
treec3a108ac14f883120561a2044a720b145e7c0843 /src
parent1b13d8557c8666e1017fd70a455830dbdcb9f46c (diff)
downloadmana-843fbb7fac79d1e0340fe489e8e78e4a41b3da43.tar.gz
mana-843fbb7fac79d1e0340fe489e8e78e4a41b3da43.tar.bz2
mana-843fbb7fac79d1e0340fe489e8e78e4a41b3da43.tar.xz
mana-843fbb7fac79d1e0340fe489e8e78e4a41b3da43.zip
Move libintl from localplayer to gettext
Better for future use.
Diffstat (limited to 'src')
-rw-r--r--src/localplayer.cpp1
-rw-r--r--src/utils/gettext.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 9e4d6ab5..57dc8981 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -65,7 +65,6 @@
#include "resources/iteminfo.h"
#include "resources/resourcemanager.h"
-#include <libintl.h>
#include "utils/gettext.h"
#include "utils/stringutils.h"
diff --git a/src/utils/gettext.h b/src/utils/gettext.h
index 55e72555..4f85952c 100644
--- a/src/utils/gettext.h
+++ b/src/utils/gettext.h
@@ -26,10 +26,10 @@
#include "config.h"
#endif
-#if ENABLE_NLS
-
#include <libintl.h>
+#if ENABLE_NLS
+
#define _(s) ((char const *)gettext(s))
#define N_(s) ((char const *)s)