1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 08:30:00 +00:00

Fix char in stats

This commit is contained in:
Sergeanur 2021-01-07 21:00:20 +02:00
parent eecf095077
commit c2672bd630

View file

@ -3639,7 +3639,7 @@ CMenuManager::ExportStats()
char *statValue = UnicodeToAscii(gUString2); char *statValue = UnicodeToAscii(gUString2);
for (int j = 0; statValue[j] != '\0'; ++j) { for (int j = 0; statValue[j] != '\0'; ++j) {
if (statValue[j] == '_') if (statValue[j] == '_')
statValue[j] = 0xBA; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation statValue[j] = '\xBA'; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation
} }
if (statValue) if (statValue)
fprintf(txtFile, "%s\n\n", statValue); fprintf(txtFile, "%s\n\n", statValue);
@ -3701,7 +3701,7 @@ CMenuManager::ExportStats()
char *statValue = UnicodeToAscii(gUString2); char *statValue = UnicodeToAscii(gUString2);
for (int l = 0; statValue[l] != '\0'; ++l) { for (int l = 0; statValue[l] != '\0'; ++l) {
if (statValue[l] == '_') if (statValue[l] == '_')
statValue[l] = 0xBA; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation statValue[l] = '\xBA'; // This is degree symbol, but my editors keeps messing up with it so I wrote hex representation
} }
if (statValue) if (statValue)
fprintf(htmlFile, "%s", statValue); fprintf(htmlFile, "%s", statValue);