codetools: fix compilation under windows

git-svn-id: trunk@12388 -
This commit is contained in:
paul 2007-10-09 01:35:59 +00:00
parent 27cda5e7cd
commit d9d606c45a

View File

@ -665,7 +665,7 @@ begin
case FileCase of
ctsfcDefault:
{$IFDEF CaseInsensitiveFilenames}
cmp:=ComparePCharCaseInsensitive(Pointer(ShortFilename)),CurFilenames);// pointer type cast avoids #0 check
cmp:=ComparePCharCaseInsensitive(Pointer(ShortFilename),CurFilename);// pointer type cast avoids #0 check
{$ELSE}
cmp:=ComparePCharCaseSensitive(Pointer(ShortFilename),CurFilename);
{$ENDIF}