aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgnomecanvas/gnome-canvas-text.c')
-rw-r--r--libgnomecanvas/gnome-canvas-text.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libgnomecanvas/gnome-canvas-text.c b/libgnomecanvas/gnome-canvas-text.c
index f0c5308aed..e030b9b73b 100644
--- a/libgnomecanvas/gnome-canvas-text.c
+++ b/libgnomecanvas/gnome-canvas-text.c
@@ -583,13 +583,13 @@ gnome_canvas_text_init (GnomeCanvasText *text)
text->font_desc = NULL;
- text->underline = PANGO_UNDERLINE_NONE;
+ text->underline = PANGO_UNDERLINE_NONE;
text->strikethrough = FALSE;
- text->rise = 0;
+ text->rise = 0;
text->underline_set = FALSE;
- text->strike_set = FALSE;
- text->rise_set = FALSE;
+ text->strike_set = FALSE;
+ text->rise_set = FALSE;
}
/* Dispose handler for the text item */
@@ -1330,8 +1330,8 @@ gnome_canvas_text_draw (GnomeCanvasItem *item,
cr,
((text->rgba >> 24) & 0xff) / 255.0,
((text->rgba >> 16) & 0xff) / 255.0,
- ((text->rgba >> 8) & 0xff) / 255.0,
- ( text->rgba & 0xff) / 255.0);
+ ((text->rgba >> 8) & 0xff) / 255.0,
+ ( text->rgba & 0xff) / 255.0);
cairo_move_to (cr, text->cx - x, text->cy - y);
pango_cairo_show_layout (cr, text->layout);