lazutils: FileNameIsTrimmed: check for slashes on Windows

git-svn-id: trunk@42704 -
This commit is contained in:
mattias 2013-09-09 13:44:08 +00:00
parent 084093d91e
commit 3c92d686f3

View File

@ -528,6 +528,10 @@ begin
inc(i);
if i=NameLen then break;
{$IFDEF Windows}
if StartPos[i]='/' then exit;
{$ENDIF}
// check for double path delimiter
if (StartPos[i] in AllowDirectorySeparators) then exit;