codetools: fixed FindCommentEnd

git-svn-id: trunk@38203 -
This commit is contained in:
mattias 2012-08-08 12:07:17 +00:00
parent aa0c04ced6
commit 752ae4ef0b

View File

@ -1441,7 +1441,7 @@ begin
Result:=StartPos;
if Result<1 then exit;
if Result>length(ASource) then exit;
p:=PChar(ASource);
p:=@ASource[Result];
case p^ of
'/':
begin