Przeglądaj źródła

* removed single remaining use of a 1.0.x deprecated function.

git-svn-id: trunk@21322 -
marco 13 lat temu
rodzic
commit
8082982d46
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ide/fpcompil.pas

+ 1 - 1
ide/fpcompil.pas

@@ -1008,7 +1008,7 @@ begin
 {$endif}
 {$ifdef Unix}
        error:=0;
-       If Shell(GetExePath+PpasFile)=-1 Then
+       If fpsystem(GetExePath+PpasFile)=-1 Then
         Error:=fpgeterrno;
 {$else}
        DosExecute(GetEnv('COMSPEC'),'/C '+GetExePath+PpasFile);