diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-09-08 15:31:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 15:31:25 +0200 |
commit | e6106edd160a008196e6e7f7ba7b7a3f7b4766cf (patch) | |
tree | 61e100d85519a983e0eaa194a86607f0b95d1438 | |
parent | 25291a5b03744f51c82b312ee794dc496815453e (diff) | |
parent | 3264ba296e8cc217c1d3e489d22e4896d08e7cd4 (diff) |
Merge pull request #52408 from GiantBlargg/fix-string-cast
Fix invalid string cast
-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 |