diff options
author | Daniel Doran <ddoran3@gmail.com> | 2021-09-04 21:38:07 -0600 |
---|---|---|
committer | Daniel Doran <ddoran3@gmail.com> | 2021-09-04 21:38:07 -0600 |
commit | 3264ba296e8cc217c1d3e489d22e4896d08e7cd4 (patch) | |
tree | cab562f1c2261f5d16fb2744adaec391dca8a3aa /core/string | |
parent | f3ab0941335d373ce44317961af7fbc864ea5759 (diff) |
fix invalid string cast
Diffstat (limited to 'core/string')
-rw-r--r-- | core/string/ustring.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/string/ustring.h b/core/string/ustring.h index 6a4b40da60..24da6b82af 100644 --- a/core/string/ustring.h +++ b/core/string/ustring.h @@ -523,10 +523,10 @@ String DTRN(const String &p_text, const String &p_text_plural, int p_n, const St #define TTRGET(m_value) TTR(m_value) #else -#define TTR(m_value) (String()) -#define TTRN(m_value) (String()) -#define DTR(m_value) (String()) -#define DTRN(m_value) (String()) +#define TTR(m_value) String() +#define TTRN(m_value) String() +#define DTR(m_value) String() +#define DTRN(m_value) String() #define TTRC(m_value) (m_value) #define TTRGET(m_value) (m_value) #endif |