wordpad: Find dialogs intialize find field with selection.
commitfbd30765f0659551367d78e4fbee1c0ed9c15055
authorDylan Smith <dylan.ah.smith@gmail.com>
Mon, 19 Jul 2010 22:18:08 +0000 (19 18:18 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Jul 2010 11:13:04 +0000 (20 13:13 +0200)
tree611e8219f45434a73525cb9e49913d4bae54e6c3
parent72f735b25e883b2568b4060813b93246df0b8c12
wordpad: Find dialogs intialize find field with selection.

If there is a selection that doesn't span multiple paragraphs, then the
selection text initializes the find field in native wordpad, otherwise the
last search is used to initialize the field.  I added an extra buffer,
since closing the find dialog before doing a search will preserve the last
search state.
programs/wordpad/wordpad.c