diff --git a/Library/Rainmeter.cpp b/Library/Rainmeter.cpp index 9ce46bee..1724390d 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 ", 11) == 0) + if (_wcsnicmp(cmdLine, L"!LoadLayout ", 13) == 0) { layout = cmdLine + 11; // Skip "!LoadLayout ". }