mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 01:44:09 +00:00
UnicodeMakeUpperCase move + arg fix
This commit is contained in:
parent
9dba2386bb
commit
b0becb5a2d
4 changed files with 16 additions and 16 deletions
|
@ -431,6 +431,7 @@ CData::Unload(void)
|
|||
numChars = 0;
|
||||
}
|
||||
|
||||
void
|
||||
CMissionTextOffsets::Load(size_t table_size, int file, size_t *offset, int)
|
||||
{
|
||||
#if DUMB
|
||||
|
@ -457,7 +458,6 @@ CMissionTextOffsets::Load(size_t table_size, int file, size_t *offset, int)
|
|||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
char*
|
||||
UnicodeToAscii(wchar *src)
|
||||
{
|
||||
|
@ -525,20 +525,6 @@ UnicodeToAsciiForMemoryCard(wchar *src)
|
|||
return aStr;
|
||||
}
|
||||
|
||||
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
|
||||
TextCopy(wchar *dst, const wchar *src)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue