From c13cffe1eb3239bb83ac7bb703eef0195b7438ae Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 30 Jul 2008 10:35:37 +0200 Subject: [PATCH] draw: set_markup wants NONULL arg 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 13c6609b..b2117352 100644 --- a/common/draw.c +++ b/common/draw.c @@ -389,7 +389,7 @@ draw_text(draw_context_t *ctx, font_t *font, - (pdata->margin.left + pdata->margin.right))); pango_layout_set_ellipsize(ctx->layout, PANGO_ELLIPSIZE_END); - pango_layout_set_markup(ctx->layout, text, len); + pango_layout_set_markup(ctx->layout, NONULL(text), len); pango_layout_set_font_description(ctx->layout, font->desc); pango_layout_get_pixel_extents(ctx->layout, NULL, &ext);