mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 14:29:31 +02:00
Jedi code format: remove unneeded conditions. Issue #41146 related.
This commit is contained in:
parent
7a0867281e
commit
d04502a298
@ -341,7 +341,7 @@ begin
|
||||
end;
|
||||
end;
|
||||
finally
|
||||
if fcConverter.ConvertError and (IDEMessagesWindow<>nil) then
|
||||
if fcConverter.ConvertError then
|
||||
ShowIdeMessages;
|
||||
fcConverter.Free;
|
||||
end;
|
||||
@ -388,7 +388,7 @@ begin
|
||||
DiffMergeEditor(srcEditor, outputstr, BlockBegin.Y, BlockEnd.Y);
|
||||
end;
|
||||
finally
|
||||
if fcConverter.ConvertError and (IDEMessagesWindow<>nil) then
|
||||
if fcConverter.ConvertError then
|
||||
ShowIdeMessages;
|
||||
fcConverter.Free;
|
||||
end;
|
||||
|
@ -130,7 +130,7 @@ begin
|
||||
SendStatusMessage(pciUnit.FileName, 'Formatted unit', mtProgress, -1, -1);
|
||||
Inc(fiConvertCount);
|
||||
end
|
||||
else if IDEMessagesWindow<>nil then
|
||||
else
|
||||
TJcfIdeMain.ShowIdeMessages;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user