summaryrefslogtreecommitdiffstats
path: root/src/text/Text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/text/Text.cpp')
-rw-r--r--src/text/Text.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/text/Text.cpp b/src/text/Text.cpp
index dab1cae3..64f303eb 100644
--- a/src/text/Text.cpp
+++ b/src/text/Text.cpp
@@ -495,6 +495,20 @@ UnicodeToAsciiForMemoryCard(wchar *src)
}
void
+UnicodeMakeUpperCase(wchar *dst, wchar *src) //idk what to do with it, seems to be incorrect implementation by R*
+{
+ while (*src != '\0') {
+ if (*src < 'a' || *src > 'z')
+ *dst = *src;
+ else
+ *dst = *src - 32;
+ dst++;
+ src++;
+ }
+ *dst = '\0';
+}
+
+void
UnicodeStrcpy(wchar *dst, const wchar *src)
{
while((*dst++ = *src++) != '\0');