Browse Source

* Fixed bug ID #24674

git-svn-id: trunk@26577 -
michael 11 years ago
parent
commit
fa4aa67f35
1 changed files with 2 additions and 1 deletions
  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;