GtkThemingEngine: don't overshoot when rendering frames.

This commit is contained in:
Carlos Garnacho 2010-11-24 01:16:15 +01:00
parent e47c8e2490
commit 95ae1a0aa6

View File

@ -1620,7 +1620,7 @@ render_frame_internal (GtkThemingEngine *engine,
if (border_width > 1)
{
d1 = (gdouble) border_width / 2;
d2 = (gdouble) (border_width - (gint) d1) + 1;
d2 = border_width;
}
else
{