Browse Source

* Shorter form of copy, remark by Alexey Torgashin

Michaël Van Canneyt 2 years ago
parent
commit
fd1f7b2ef8
1 changed files with 1 additions and 1 deletions
  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