diff options
Diffstat (limited to 'komponenten.pas')
-rw-r--r-- | komponenten.pas | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/komponenten.pas b/komponenten.pas index 2a2079f..b0915f2 100644 --- a/komponenten.pas +++ b/komponenten.pas @@ -511,9 +511,9 @@ begin if pos(';',s)=0 then cert:='' else cert:=erstesArgument(s,';'); quelle:=s; - if pos('/',vergleich)=0 then + if pos('/',vergleich)<>1 then vergleich:=extractFilePath(application.exeName)+vergleich; - if pos('/',cert)=0 then + if (cert<>'') and (pos('/',cert)<>1) then cert:=extractFilePath(application.exeName)+cert; result:=fileexists(vergleich); if (cert<>'') and not fileexists(cert) then |