synedit: fix wrong reporting about line changes. First change after save was reported as saved.

git-svn-id: trunk@17635 -
This commit is contained in:
paul 2008-11-30 12:01:20 +00:00
parent 475ca7cb36
commit 901310d366

View File

@ -1289,8 +1289,12 @@ begin
end end
else else
begin begin
Start := fUnModifiedItem + 1; Start := fUnModifiedItem;
Stop := fItems.Count - 1; Stop := fItems.Count - 1;
if Stop < 0 then
Exit;
if Start < 0 then
Start := 0;
end; end;
for I := Start to Stop do for I := Start to Stop do