taglist: set correctly area height

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-10-01 14:16:16 +02:00
parent 0261969930
commit 4fb114172f
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ taglist_draw(draw_context_t *ctx, int screen, widget_node_t *w,
draw_parser_data_init(&pdata[i]); draw_parser_data_init(&pdata[i]);
area = draw_text_extents(ctx->phys_screen, area = draw_text_extents(ctx->phys_screen,
globalconf.font, text[i], len[i], &pdata[i]); globalconf.font, text[i], len[i], &pdata[i]);
area.height = ctx->height;
if(pdata[i].bg_image) if(pdata[i].bg_image)
area.width = MAX(area.width, area.width = MAX(area.width,