mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Changed std::transform(..., ::towlower/::towupper) to _wcsupr/_wcslwr
- MathParser: Fixed stack overflow (and possible crash) when the nested conditional limit is exceeded
This commit is contained in:
@ -70,7 +70,7 @@ std::wstring CGroup::CreateGroup(const std::wstring& str)
|
||||
strTmp.assign(str, pos, str.find_last_not_of(L" \t\r\n") - pos + 1);
|
||||
|
||||
// Convert to lower
|
||||
std::transform(strTmp.begin(), strTmp.end(), strTmp.begin(), ::towlower);
|
||||
_wcslwr(&strTmp[0]);
|
||||
}
|
||||
|
||||
return strTmp;
|
||||
|
Reference in New Issue
Block a user