소스 검색

FIX: Find files - crash with an invalid regular expression (issue #2249)

Alexander Koblov 3 달 전
부모
커밋
f63a5a93c5
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/fFindDlg.pas

+ 2 - 0
src/fFindDlg.pas

@@ -1729,6 +1729,8 @@ begin
   Self.Repaint;
   Application.ProcessMessages;
 
+  if InvalidRegExpr then Exit;
+
   if cbFindInArchive.Enabled then
   begin
     if (cmbFindPathStart.Text = '') then begin