From: <ah...@us...> - 2009-03-18 12:19:52
|
Revision: 12241 http://jvcl.svn.sourceforge.net/jvcl/?rev=12241&view=rev Author: ahuser Date: 2009-03-18 12:19:38 +0000 (Wed, 18 Mar 2009) Log Message: ----------- Fixed rev12240 Revision Links: -------------- http://jvcl.svn.sourceforge.net/jvcl/?rev=12240&view=rev Modified Paths: -------------- trunk/jvcl/run/JvEditorCommon.pas Modified: trunk/jvcl/run/JvEditorCommon.pas =================================================================== --- trunk/jvcl/run/JvEditorCommon.pas 2009-03-18 10:27:22 UTC (rev 12240) +++ trunk/jvcl/run/JvEditorCommon.pas 2009-03-18 12:19:38 UTC (rev 12241) @@ -4325,7 +4325,7 @@ ECR: TRect; BX, EX, BY, EY: Integer; begin - if (UpdateLock > 0) and (CellRect.Width > 1) and (CellRect.Height > 0) then + if (UpdateLock > 0) or (CellRect.Width <= 1) or (CellRect.Height <= 1) then Exit; PaintCaret(False); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |