SynEdit: move FScreenCaret.UnLock into finally section

git-svn-id: trunk@27162 -
This commit is contained in:
martin 2010-08-22 14:18:41 +00:00
parent f3ec39b46e
commit f751b0c318

View File

@ -1889,8 +1889,8 @@ begin
if fStatusChanges <> [] then
DoOnStatusChange(fStatusChanges);
end;
FScreenCaret.UnLock;
finally
FScreenCaret.UnLock;
FIsInDecPaintLock := False;
end;
end;