diff options
author | majestic <majesticcoding@gmail.com> | 2020-08-30 22:47:12 +0200 |
---|---|---|
committer | majestic <majesticcoding@gmail.com> | 2020-09-01 18:42:17 +0200 |
commit | 9f43b1988ba44a3704d4e9dbed21d48014694c95 (patch) | |
tree | b558deb3827025a77677144132881dd1f55228d7 /src/text/Text.cpp | |
parent | Merge pull request #697 from erorcun/miami (diff) | |
download | re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.tar re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.tar.gz re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.tar.bz2 re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.tar.lz re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.tar.xz re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.tar.zst re3-9f43b1988ba44a3704d4e9dbed21d48014694c95.zip |
Diffstat (limited to 'src/text/Text.cpp')
-rw-r--r-- | src/text/Text.cpp | 14 |
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'); |