diff --git a/ide/ideguicmdline.pas b/ide/ideguicmdline.pas index 2739e4a020..d635f97d41 100644 --- a/ide/ideguicmdline.pas +++ b/ide/ideguicmdline.pas @@ -166,7 +166,7 @@ begin for i:= 1 to ParamsAndCfgCount do begin //DebugLn(['ParseGuiCmdLineParams ',i,' "',ParamsAndCfgStr(i),'"']); - if ParamIsOption(i, NoSplashScreenOptShort, NoSplashScreenOptShort) then + if ParamIsOption(i, NoSplashScreenOptShort, NoSplashScreenOptLong) then ShowSplashScreen := false else if ParamIsOption(i, ShowSetupDialogOptLong) then Setup:=true