diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-16 21:57:34 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-16 22:02:44 +0200 |
commit | e864237f1a4f9dff3a199e42c5dd4fd5661a261c (patch) | |
tree | 564c78b4b3bd10ff310fb947087fd3274caa12bc /core | |
parent | ea9a6672e0f338de263f205a3bf4b140f25b8308 (diff) |
i18n: Fix extract.py support for new TTRC
Also make compatible with Python 3.
Diffstat (limited to 'core')
-rw-r--r-- | core/ustring.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/ustring.h b/core/ustring.h index be6300ac5b..5b9be9f27c 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -415,16 +415,16 @@ _FORCE_INLINE_ bool is_str_less(const L *l_ptr, const R *r_ptr) { //gets parsed String TTR(const String &); -//use for c strings -#define TTRC(m_value) m_value +//use for C strings +#define TTRC(m_value) (m_value) //use to avoid parsing (for use later with C strings) #define TTRGET(m_value) TTR(m_value) #else -#define TTR(m_val) (String()) -#define TTRCDEF(m_value) (m_value) +#define TTR(m_value) (String()) #define TTRC(m_value) (m_value) +#define TTRGET(m_value) (m_value) #endif |