* TextControl.cs: Add some order of operation to our math so
we don't end up with a negative height for our invalidate rect.
[Fixes bug #381889]
svn path=/trunk/mcs/; revision=118409
+2008-11-10 Jonathan Pobst <monkey@jpobst.com>
+
+ * TextControl.cs: Add some order of operation to our math so
+ we don't end up with a negative height for our invalidate rect.
+ [Fixes bug #381889]
+
2008-11-10 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: When our enabled changes, notify our implicit children
offset_x,
line.Y - viewport_y + offset_y,
viewport_width,
- owner.Height - line.Y - viewport_y));
+ owner.Height - (line.Y - viewport_y)));
} else {
// The tag was above the visible area, draw everything
owner.Invalidate();