Remove old vararg style, the new one works just fine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7514 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
3784c6fa28
commit
4b3c1fa16d
@ -32,13 +32,8 @@
|
|||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#ifdef WIN32
|
|
||||||
# define _(String, ...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__)))
|
# define _(String, ...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__)))
|
||||||
# define _LTR(String, ...) (StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__))
|
# define _LTR(String, ...) (StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__))
|
||||||
#else
|
|
||||||
# define _(String, args...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##args)))
|
|
||||||
# define _LTR(String, args...) (StringUtils::insertValues(translations->w_gettext(String), ##args))
|
|
||||||
#endif
|
|
||||||
# define gettext_noop(String) (String)
|
# define gettext_noop(String) (String)
|
||||||
# define N_(String) (gettext_noop (String))
|
# define N_(String) (gettext_noop (String))
|
||||||
// libintl defines its own fprintf, which doesn't work properly
|
// libintl defines its own fprintf, which doesn't work properly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user