Code cleanup.

This commit is contained in:
spx 2011-08-17 18:51:43 +00:00
parent 665d8e5422
commit 91654989ff

View File

@ -3162,7 +3162,8 @@ BOOL CRainmeter::ExecuteBang(const std::wstring& bang, const std::wstring& arg,
ExecuteCommand(command.c_str(), meterWindow); ExecuteCommand(command.c_str(), meterWindow);
} }
} }
else if (arg[i] == L'"' && arg[i + 1] == L'"' && arg[i + 2] == L'"') else if (isize > (i + 2) &&
arg[i] == L'"' && arg[i + 1] == L'"' && arg[i + 2] == L'"')
{ {
i += 3; i += 3;