mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed regression with commands in de10352
This commit is contained in:
parent
de10352cbd
commit
efd051c4af
@ -2066,11 +2066,11 @@ void CRainmeter::ExecuteCommand(const WCHAR* command, CMeterWindow* meterWindow)
|
||||
}
|
||||
}
|
||||
|
||||
if (command[0] == L'[' && command[1] == L'!') // Multi-bang
|
||||
if (command[0] == L'[') // Multi-bang
|
||||
{
|
||||
std::wstring bangs = command;
|
||||
std::wstring::size_type start = std::wstring::npos;
|
||||
int count = 0;
|
||||
std::wstring bangs = &command[1];
|
||||
std::wstring::size_type start = 0;
|
||||
int count = 1;
|
||||
for (size_t i = 0, isize = bangs.size(); i < isize; ++i)
|
||||
{
|
||||
if (bangs[i] == L'[')
|
||||
|
Loading…
Reference in New Issue
Block a user