aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-03-24 15:33:45 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-03-24 15:58:24 -0700
commit3a475a99fc651c3e4ffe0570f7d1caaa1082b6b1 (patch)
tree4c3a1bef40104c1c09d584dc024ee749e4b32e6b /common.h
parent9394583f96cf23634f9e34bf8537fa2001ed1c9f (diff)
Fix gettext macro to stop casting everything to wchar_t * (oops)
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index eb544268..76909632 100644
--- a/common.h
+++ b/common.h
@@ -182,7 +182,7 @@ extern const wchar_t *program_name;
/**
Shorthand for wgettext call
*/
-#define _(wstr) wgettext((const wchar_t *)wstr)
+#define _(wstr) wgettext(wstr)
/**
Noop, used to tell xgettext that a string should be translated,