mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:20:26 +02:00
MG: fixed missing bracket for windows
git-svn-id: trunk@491 -
This commit is contained in:
parent
bd75d3d4c3
commit
3085b63492
@ -1194,7 +1194,7 @@ var
|
||||
{$IFDEF win32}
|
||||
// windows
|
||||
Result:=(copy(TheFilename,1,2)='\\') or ((length(TheFilename)>3) and
|
||||
(UpChars[TheFilename[1]]) in ['A'..'Z']) and (TheFilename[2]=':'));
|
||||
(UpChars[TheFilename[1]] in ['A'..'Z']) and (TheFilename[2]=':'));
|
||||
{$ELSE}
|
||||
Result:=(TheFilename<>'') and (TheFilename[1]='/');
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user