summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-01-09 14:36:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-01-27 22:17:29 -0500
commit427287bea4b55f5f5b2b76133640b9237e4ac678 (patch)
tree83143f5e272413eb674700f646f63410f7aad16e /gtk
parentd7c628124cfb6768f6b5a0170f0872a42f5b213e (diff)
downloadgtk+-427287bea4b55f5f5b2b76133640b9237e4ac678.tar.gz
Fix dobule border rendering
This is the same fix that was applied for ridge and groove style in 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkrenderborder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkrenderborder.c b/gtk/gtkrenderborder.c
index f533a0cb6c..49d9470f62 100644
--- a/gtk/gtkrenderborder.c
+++ b/gtk/gtkrenderborder.c
@@ -630,7 +630,7 @@ render_border (cairo_t *cr,
else
dont_draw |= (1 << j);
- other_border[i] = border_width[i] / 3;
+ other_border[j] = border_width[j] / 3;
}
render_frame_fill (cr, border_box, other_border, colors, dont_draw);