[ 3/8] wordpad: Use pages_shown variables to indicate pages shown.

Dylan Smith dylan.ah.smith at gmail.com
Mon Feb 22 02:18:11 CST 2010


Previously hdc2 needed to be deleted and set to NULL to indicate that only
one page should be shown. I have avoided this using a new variable for
the preview structure.

The device context were also being deleted without deleting the bitmaps
created for them and selected into them, so this patch also gets these
bitmaps and deletes them with their device context.
---
 programs/wordpad/print.c |   72 +++++++++++++++++++++-------------------------
 1 files changed, 33 insertions(+), 39 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-wordpad-Use-pages_shown-variables-to-indicate-pag.diff.txt
Type: text/x-patch
Size: 7792 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100222/00c60587/attachment.bin>


More information about the wine-patches mailing list