소스 검색

Really change extension of hs1 local variable in get_exepath

git-svn-id: trunk@40236 -
pierre 6 년 전
부모
커밋
d55f80d2f9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/globals.pas

+ 1 - 1
compiler/globals.pas

@@ -1420,7 +1420,7 @@ implementation
        if localexepath='' then
         begin
           hs1 := ExtractFileName(exeName);
-          ChangeFileExt(hs1,source_info.exeext);
+	  hs1 := ChangeFileExt(hs1,source_info.exeext);
 {$ifdef macos}
           FindFile(hs1,GetEnvironmentVariable('Commands'),false,localExepath);
 {$else macos}