소스 검색

Support long paths when checking for file existence

Source commit: b2dcc778ad505b1d1d45d0941cdb8dd8e1052557
Martin Prikryl 9 년 전
부모
커밋
8230610ade
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      source/forms/Preferences.cpp

+ 1 - 1
source/forms/Preferences.cpp

@@ -2468,7 +2468,7 @@ void __fastcall TPreferencesDialog::AddExtension()
       }
       }
       else
       else
       {
       {
-        if (!FileExists(Path))
+        if (!FileExists(ApiPath(Path)))
         {
         {
           throw Exception(MainInstructions(FMTLOAD(FILE_NOT_EXISTS, (Path))));
           throw Exception(MainInstructions(FMTLOAD(FILE_NOT_EXISTS, (Path))));
         }
         }