comdlg32: Check for valid replace parameters on ReplaceTextW.
authorDylan Smith <dylan.ah.smith@gmail.com>
Tue, 20 Jul 2010 21:49:49 +0000 (17:49 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Jul 2010 11:23:56 +0000 (13:23 +0200)
commitf89b14020f83824cfc8dc81b7991382d65c1c07d
tree1dd169bb86fb06a6a841b417236b8856035f2787
parent166b7f4ffba5b556c00f6cfac85aff73165d8480
comdlg32: Check for valid replace parameters on ReplaceTextW.

COMDLG32_FR_CheckPartial is called with the second parameter of TRUE to
indicate that it is checking for a replace dialog, which includes checking
for a non-NULL replace buffer. This was called correctly on ReplaceTextA
but not for ReplaceTextW.
dlls/comdlg32/finddlg.c