As it says.

I must admit that I don't really quite understand this,
and thus don't like it. How can baseline < 0 if not in 
error?

Martin
-- 
Martin Vermeer  [EMAIL PROTECTED]
Helsinki University of Technology 
Department of Surveying
P.O. Box 1200, FIN-02015 HUT, Finland
:wq
Index: insettext.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.245
diff -u -p -r1.245 insettext.C
--- insettext.C 2001/12/28 13:26:54     1.245
+++ insettext.C 2002/01/07 09:14:32
@@ -388,7 +388,8 @@ void InsetText::draw(BufferView * bv, Ly
        if (!cleared && (top_x == int(x))
            && ((need_update&(INIT|FULL)) || (top_baseline != baseline)
                ||(last_drawn_width != insetWidth))) {
-               clearInset(bv, baseline, cleared);
+               // Condition necessary to eliminate bug 59 attachment 37
+               if (baseline > 0) clearInset(bv, baseline, cleared);
        }
 
        top_x = int(x);

Attachment: msg31021/pgp00000.pgp
Description: PGP signature

Reply via email to