소스 검색

* Fix option character test (bug ID 36438)

git-svn-id: trunk@43680 -
michael 5 년 전
부모
커밋
a3871b0a87
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/fcl-base/src/custapp.pp

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

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