mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Code cleanup & cosmetic.
This commit is contained in:
@@ -172,7 +172,7 @@ void CMeasureCalc::FormulaReplace()
|
||||
|
||||
while ((loc = m_Formula.find_first_of(L"Rr", loc)) != std::wstring::npos)
|
||||
{
|
||||
if (wcsnicmp(L"Random", m_Formula.c_str() + loc, 6) == 0 &&
|
||||
if (_wcsnicmp(L"Random", m_Formula.c_str() + loc, 6) == 0 &&
|
||||
(loc == 0 || IsDelimiter(*(m_Formula.c_str() + loc - 1))) &&
|
||||
(loc == (m_Formula.length() - 6) || IsDelimiter(*(m_Formula.c_str() + loc + 6))))
|
||||
{
|
||||
|
Reference in New Issue
Block a user