Explorar o código

* Fixed bug ID #24674

git-svn-id: trunk@26577 -
michael %!s(int64=11) %!d(string=hai) anos
pai
achega
fa4aa67f35
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      packages/fcl-base/src/custapp.pp

+ 2 - 1
packages/fcl-base/src/custapp.pp

@@ -333,7 +333,8 @@ begin
     else
       begin // short options have form '-o value'
       If (I<ParamCount) then
-        Result:=Params[I+1];
+        if (Copy(Params[I+1],1,1)<>'-') then
+          Result:=Params[I+1];
       end;
     end;
 end;