Martijn Laan 4 月之前
父节点
当前提交
95737b7b5b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Projects/Src/IDE.MainForm.pas

+ 1 - 1
Projects/Src/IDE.MainForm.pas

@@ -4886,7 +4886,7 @@ procedure TMainForm.UpdatePreprocMemos;
     const NewCloseButtons: TBoolList);
   begin
     if FOptions.ShowPreprocessorOutput and (FPreprocessorOutput <> '') and
-       not SameStr(TrimRight(FMainMemo.Lines.Text), FPreprocessorOutput) then begin
+       (FMainMemo.Lines.Text.TrimRight <> FPreprocessorOutput) then begin
       NewTabs.Add('Preprocessor Output');
       NewHints.Add('');
       NewCloseButtons.Add(False);