Fix for the endless loop bug on wide tabulars.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5680 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2002-11-20 16:42:28 +00:00
parent c598fd2c9d
commit d4ee5b69d0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-20 Juergen Vigna <jug@sad.it>
* insettabular.C (resetPos): temporary fix for endless loop in
this function on a redraw.
2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
* insettabular.C (copySelection): STRCONV

View File

@ -1563,7 +1563,7 @@ void InsetTabular::resetPos(BufferView * bv) const
#warning This should be fixed in the right manner (20011128 Jug)
#endif
// fast hack to fix infinite repaintings!
if (in_reset_pos > 10)
if (in_reset_pos > 0)
return;
int cell = 0;