* Fixed 23805

git-svn-id: trunk@23899 -
This commit is contained in:
michael 2013-03-17 17:00:39 +00:00
parent d4613fe961
commit 37ba6f9b27

View File

@ -781,7 +781,7 @@ begin
begin
S:=Strings[Result];
len:=pos(FNameValueSeparator,S)-1;
if (len>0) and (DoCompareText(Name,Copy(S,1,Len))=0) then
if (len>=0) and (DoCompareText(Name,Copy(S,1,Len))=0) then
exit;
inc(result);
end;