wordpad: Get preview page character boundaries with number of pages.
commitb2781015807bfedcdad24b9c52bc1c81dbcd95f9
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 22 Feb 2010 08:18:06 +0000 (22 03:18 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 22 Feb 2010 11:07:33 +0000 (22 12:07 +0100)
treef8524da40d1f1598b86e74c57dcd708e1dbe9ff2
parent7451facf2f7a9ee8e5873b6c6976bffea241199a
wordpad: Get preview page character boundaries with number of pages.

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