From 83528f4e25e7d4569d46397ffb96073ad0a7ba73 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 30 Oct 2003 20:45:30 +0000 Subject: [PATCH] fixed win32 include file search git-svn-id: trunk@4743 - --- components/codetools/linkscanner.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/codetools/linkscanner.pas b/components/codetools/linkscanner.pas index c9903ebab0..a9e5fd7ac3 100644 --- a/components/codetools/linkscanner.pas +++ b/components/codetools/linkscanner.pas @@ -2384,7 +2384,7 @@ begin while PathEnd<=length(IncludePath) do begin if ((Pos(IncludePath[PathEnd],PathDivider))>0) {$IFDEF win32} - and (not ((PathEnd-PathStart=2) // ignore colon in drive + and (not ((PathEnd-PathStart=1) // ignore colon in drive and (IncludePath[PathEnd]=':') and (IsWordChar[IncludePath[PathEnd-1]]))) {$ENDIF}