Initialize the saved_dc_bitmap field here as well ... not strictly needed, but cleaner. (Reported by Peter Arsoff)

This commit is contained in:
Owen Taylor 2005-04-25 19:38:44 +00:00
parent 1c756648fc
commit e55161d2b2
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-04-25 Owen Taylor <otaylor@redhat.com>
* src/cairo-win32-surface.c (cairo_win32_surface_create): Initialize
the saved_dc_bitmap field here as well ... not strictly needed,
but cleaner. (Reported by Peter Arsoff)
2005-04-23 Kristian Høgsberg <krh@redhat.com>
* src/cairo-gstate.c (_composite_trap_region): Finalize the

View file

@ -819,6 +819,7 @@ cairo_win32_surface_create (HDC hdc)
surface->dc = hdc;
surface->bitmap = NULL;
surface->saved_dc_bitmap = NULL;
surface->clip_rect.x = rect.left;
surface->clip_rect.y = rect.top;