Draw buf, not text
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f75f16c325
commit
44824e9ac7
|
@ -239,7 +239,7 @@ draw_text(DrawCtx *ctx,
|
||||||
buf[len - 3] = '.';
|
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);
|
pango_layout_set_font_description(ctx->layout, style.font->desc);
|
||||||
|
|
||||||
x = area.x + padding;
|
x = area.x + padding;
|
||||||
|
|
Loading…
Reference in New Issue