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