From: Matthias Clasen Date: Sat, 28 Mar 2020 04:04:25 +0000 (-0400) Subject: gtk-demo: Fix the rotated text demo X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~19^2~21^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fbed55dff9df454e249fe4d4a7e288778019171e;p=gtk4.git gtk-demo: Fix the rotated text demo Off-by-one on the heart! --- diff --git a/demos/gtk-demo/rotated_text.c b/demos/gtk-demo/rotated_text.c index 5a88008471..b7967880da 100644 --- a/demos/gtk-demo/rotated_text.c +++ b/demos/gtk-demo/rotated_text.c @@ -28,7 +28,7 @@ fancy_shape_renderer (cairo_t *cr, (double) attr->ink_rect.width / PANGO_SCALE, (double) attr->ink_rect.height / PANGO_SCALE); - if (GPOINTER_TO_UINT (attr->data) == 0x2664) /* U+2665 BLACK HEART SUIT */ + if (GPOINTER_TO_UINT (attr->data) == 0x2665) /* U+2665 BLACK HEART SUIT */ { cairo_move_to (cr, .5, .0); cairo_line_to (cr, .9, -.4);