[ 2/8] wordpad: Get preview page character boundaries with number of pages.

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


Rather than making seperate calls to EM_FORMATRANGE to get the number of
pages and the character boundaries, it would be easiest to get both
together.  The time to process EM_FORMATRANGE seems like it would take a
lot longer than the time needed to cache the character page boundaries.
---
 programs/wordpad/print.c |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-wordpad-Get-preview-page-character-boundaries-wit.diff.txt
Type: text/x-patch
Size: 2217 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100222/f7d96ad6/attachment.bin>


More information about the wine-patches mailing list