From 44824e9ac76303ff13a362d27a80415607b038fb Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 18 Mar 2008 09:01:16 +0100 Subject: [PATCH] Draw buf, not text Signed-off-by: Julien Danjou --- common/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/draw.c b/common/draw.c index e19ba9412..1609a7629 100644 --- a/common/draw.c +++ b/common/draw.c @@ -239,7 +239,7 @@ draw_text(DrawCtx *ctx, buf[len - 3] = '.'; } - pango_layout_set_text(ctx->layout, text, -1); + pango_layout_set_text(ctx->layout, buf, -1); pango_layout_set_font_description(ctx->layout, style.font->desc); x = area.x + padding;