summaryrefslogtreecommitdiff
path: root/src/utils/gettexthelper.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-30 21:03:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 12:16:43 +0300
commitc0197404a15a3937ef3cd21f48a09e691a96518f (patch)
tree582b01cfc1c716b19122fe28f57abefb3bf5b716 /src/utils/gettexthelper.h
parent9bb11133522836a9c5e251550ac88c9a4e091c0e (diff)
downloadmanaverse-c0197404a15a3937ef3cd21f48a09e691a96518f.tar.gz
manaverse-c0197404a15a3937ef3cd21f48a09e691a96518f.tar.bz2
manaverse-c0197404a15a3937ef3cd21f48a09e691a96518f.tar.xz
manaverse-c0197404a15a3937ef3cd21f48a09e691a96518f.zip
fix code style.
Diffstat (limited to 'src/utils/gettexthelper.h')
-rw-r--r--src/utils/gettexthelper.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/utils/gettexthelper.h b/src/utils/gettexthelper.h
index 534086820..3916edc03 100644
--- a/src/utils/gettexthelper.h
+++ b/src/utils/gettexthelper.h
@@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GETTEXTHELPER_H
-#define GETTEXTHELPER_H
+#ifndef UTILS_GETTEXTHELPER_H
+#define UTILS_GETTEXTHELPER_H
#include "localconsts.h"
@@ -29,7 +29,11 @@ class GettextHelper final
static void initLang();
private:
+#ifdef ENABLE_NLS
static void bindTextDomain(const char *const path);
+#else
+ static void bindTextDomain(const char *const path A_UNUSED);
+#endif
};
-#endif // GETTEXTHELPER_H
+#endif // UTILS_GETTEXTHELPER_H