mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-13 18:17:49 -04:00
Hoikas' performance fixes
1) Asyncfixes https://github.com/H-uru/Plasma/pull/22 2) One small change from "LocalizationData String Stuff" (Simplifify wData in LocalizationXMLFile::HandleData) https://github.com/H-uru/Plasma/pull/229 3) Fix buddy-add stutter https://github.com/H-uru/Plasma/pull/346
This commit is contained in:
@ -278,10 +278,7 @@ void XMLCALL LocalizationXMLFile::HandleData(void *userData, const XML_Char *dat
|
||||
|
||||
// This gets all data between tags, including indentation and newlines
|
||||
// so we'll have to ignore data when we aren't expecting it (not in a translation tag)
|
||||
std::wstring wData = L"";
|
||||
|
||||
for (int i = 0; i < stringLength; i++)
|
||||
wData += data[i];
|
||||
std::wstring wData = std::wstring(data, stringLength);
|
||||
|
||||
// we must be in a translation tag since that's the only tag that doesn't ignore the contents
|
||||
file->fData[file->fCurrentAge][file->fCurrentSet][file->fCurrentElement][file->fCurrentTranslation] += wData;
|
||||
|
Reference in New Issue
Block a user