[gtk+] render: Fix ridge/groove border rendering
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] render: Fix ridge/groove border rendering
- Date: Tue, 23 Jun 2015 20:34:39 +0000 (UTC)
commit 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6
Author: Benjamin Otte <otte redhat com>
Date: Tue Jun 23 21:45:33 2015 +0200
render: Fix ridge/groove border rendering
The typo strikes again!
gtk/gtkrenderborder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrenderborder.c b/gtk/gtkrenderborder.c
index 35a939d..f533a0c 100644
--- a/gtk/gtkrenderborder.c
+++ b/gtk/gtkrenderborder.c
@@ -664,7 +664,7 @@ render_border (cairo_t *cr,
hidden_side |= (1 << j);
else
dont_draw |= (1 << j);
- other_border[i] = border_width[i] / 2;
+ other_border[j] = border_width[j] / 2;
}
render_frame_fill (cr, border_box, other_border, colors, dont_draw);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]