Explorar el Código

* Shorter form of copy, remark by Alexey Torgashin

Michaël Van Canneyt hace 2 años
padre
commit
fd1f7b2ef8
Se han modificado 1 ficheros con 1 adiciones y 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