Do not check if we have enough space to draw (FS#731)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2010-03-25 10:31:31 +01:00
parent eb402b5a34
commit 8badb836c5
1 changed files with 0 additions and 4 deletions

4
draw.c
View File

@ -169,10 +169,6 @@ draw_text(draw_context_t *ctx, draw_text_context_t *data,
PangoRectangle ext;
pango_layout_get_pixel_extents(ctx->layout, NULL, &ext);
/* Not enough space, draw nothing */
if(ext.width > area.width || ext.height > area.height)
return;
switch(align)
{
case AlignCenter: