Draw buf, not text

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-18 09:01:16 +01:00
parent f75f16c325
commit 44824e9ac7
1 changed files with 1 additions and 1 deletions

View File

@ -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;