Explorar o código

* Shorter form of copy, remark by Alexey Torgashin

Michaël Van Canneyt %!s(int64=2) %!d(string=hai) anos
pai
achega
fd1f7b2ef8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/utils/dummyas.pp

+ 1 - 1
compiler/utils/dummyas.pp

@@ -86,7 +86,7 @@ begin
       else if copy(param,1,4)='-fo=' then  
         begin
         // Watcom
-        object_name:=copy(param,5,length(Param)-4);
+        object_name:=copy(param,5);
         end
       else if (Param[1]='-') then
         begin