summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-02-12 17:53:15 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-02-12 17:54:11 +0100
commita666f0a375b5d826ce8cc275097e73f0ee18fd94 (patch)
treede79e74e0445fdfe9ba5d7f88c288ef33886fd7d
parent21af4e40df575e30e2a4fa2637f850d8b6f9158b (diff)
compat/macros: fix Linux build before anyone notices
-rw-r--r--compat/macros.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp
index a2fc69db..7c017d3e 100644
--- a/compat/macros.hpp
+++ b/compat/macros.hpp
@@ -2,8 +2,8 @@
#if !defined __WINE__
# include <QCoreApplication>
-# define otr_tr(str, ...) (QCoreApplication::translate(OTR_MODULE_NAME, (str), __VA_ARGS__))
-# define _(x, ...) otr_tr((x), __VA_ARGS__)
+# define otr_tr(...) (QCoreApplication::translate(OTR_MODULE_NAME, __VA_ARGS__))
+# define _(...) (otr_tr(__VA_ARGS__))
#endif
#if defined _MSC_VER