diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-12 10:20:29 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-02-12 10:21:09 +0100 |
commit | 55ec85583a6eeb334cb15e8fb572b56f84311951 (patch) | |
tree | 0fb9316fe7f8fd797159366a00f47708ff65e53b /compat | |
parent | 887fc9bdcf1922da541a6ec685dfff6daed9a17f (diff) |
compat/macros: fix otr_tr and _ macros
cf. #748
cf. #746
Diffstat (limited to 'compat')
-rw-r--r-- | compat/macros.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/macros.hpp b/compat/macros.hpp index c3bbb652..a2fc69db 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))) -# define _(x) otr_tr((x)) +# define otr_tr(str, ...) (QCoreApplication::translate(OTR_MODULE_NAME, (str), __VA_ARGS__)) +# define _(x, ...) otr_tr((x), __VA_ARGS__) #endif #if defined _MSC_VER |