os2: Fix get_extents() segfaulting.

bed2701e1c removed one line too much.
This commit is contained in:
Dave Yeo 2010-05-03 10:20:51 +02:00 committed by Benjamin Otte
parent 9df81fe4d3
commit c10a5a9fb0

View file

@ -721,7 +721,7 @@ static cairo_bool_t
_cairo_os2_surface_get_extents (void *abstract_surface,
cairo_rectangle_int_t *rectangle)
{
cairo_os2_surface_t *local_os2_surface;
cairo_os2_surface_t *local_os2_surface = abstract_surface;
rectangle->x = 0;
rectangle->y = 0;