This commit is contained in:
Birunthan Mohanathas 2012-10-06 20:20:39 +03:00
parent 6a18085500
commit ce0ee2693f

View File

@ -70,7 +70,7 @@ int RainmeterMain(LPWSTR cmdLine)
} }
// Disallow everything except !LoadLayout. // Disallow everything except !LoadLayout.
if (_wcsnicmp(cmdLine, L"!LoadLayout ", 13) == 0) if (_wcsnicmp(cmdLine, L"!LoadLayout ", 12) == 0)
{ {
layout = cmdLine + 11; // Skip "!LoadLayout ". layout = cmdLine + 11; // Skip "!LoadLayout ".
} }