diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 1724390d..2ceb739c 100644 --- a/Library/Rainmeter.cpp +++ b/Library/Rainmeter.cpp @@ -70,7 +70,7 @@ int RainmeterMain(LPWSTR cmdLine) } // Disallow everything except !LoadLayout. - if (_wcsnicmp(cmdLine, L"!LoadLayout ", 13) == 0) + if (_wcsnicmp(cmdLine, L"!LoadLayout ", 12) == 0) { layout = cmdLine + 11; // Skip "!LoadLayout ". }