gdi32: Don't update the metafile bounding box in ExtTextOut if there's no rectangle.

This commit is contained in:
Alexandre Julliard 2009-11-11 13:07:10 +01:00
parent cf8c3eca41
commit 872feb47c4
1 changed files with 1 additions and 2 deletions

View File

@ -826,11 +826,10 @@ BOOL CDECL EMFDRV_ExtTextOut( PHYSDEV dev, INT x, INT y, UINT flags,
pemr->rclBounds.bottom = y + textHeight + 1;
}
}
EMFDRV_UpdateBBox( dev, &pemr->rclBounds );
no_bounds:
ret = EMFDRV_WriteRecord( dev, &pemr->emr );
if(ret)
EMFDRV_UpdateBBox( dev, &pemr->rclBounds );
HeapFree( GetProcessHeap(), 0, pemr );
return ret;
}