On Sat, Jan 21, 2006 at 05:59:08PM +0100, Georg Baum wrote: > Am Samstag, 21. Januar 2006 13:13 schrieb Martin Vermeer: > > About the rottenness, one thing is that in bruteFind2, the co-ordinates > > xo, yo produced by the cursorPos call are relative, while the arguments > > There is an explanation about relative/absolute coordinates in some math > header file, but I forgot in which. > > > coming from the header x, y are absolute... the attached fixes it and > > now movement between cells in an array, each of which contain multiple > > stuff, is reasonable. Even x_target is being honoured now inside math. > > This is just plain right and should go in. > > I don't like the const_cast. Is it really necessary? > > > Georg
You're right... I thought it was, but InsetBase const * inset(&it.inset()); compiles just fine. Thanks! - Martin
pgpMnaOY4Ygmo.pgp
Description: PGP signature