On Tue, Apr 05, 2005 at 05:34:37PM +0300, Martin Vermeer wrote: > RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_nestinset.C,v > retrieving revision 1.148 > diff -u -r1.148 math_nestinset.C > --- math_nestinset.C 4 Apr 2005 22:11:53 -0000 1.148 > +++ math_nestinset.C 5 Apr 2005 14:32:21 -0000 > @@ -557,7 +562,7 @@ > cur.clearTargetX(); > if (cur.pos() != cur.lastpos()) { > cur.pos() = cur.lastpos(); > - } else if (cur.col() != cur.lastcol()) { > + } else if (ncols() && (cur.col() != cur.lastcol())) {
Please drop the extra parantheses > + } else if (ncols() && cur.col() != cur.lastcol()) { is just fine. BTW: What's our '} else' vs '}\nelse' policy? Could well be that I started the '} else' thing here wearing a TCL head but now I seem to remember LyX style is '}\nelse' Andre'