MG: fixed missing bracket for windows

git-svn-id: trunk@491 -
This commit is contained in:
lazarus 2001-12-10 07:46:10 +00:00
parent bd75d3d4c3
commit 3085b63492

View File

@ -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}