mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 13:40:50 +00:00
comdlg32: Zero length replace buffer is valid for ReplaceText.
This commit is contained in:
parent
f89b14020f
commit
51ba036f6c
@ -321,7 +321,7 @@ static BOOL COMDLG32_FR_CheckPartial(
|
||||
}
|
||||
|
||||
if((pfr->wFindWhatLen < 1 || !pfr->lpstrFindWhat)
|
||||
||(Replace && (pfr->wReplaceWithLen < 1 || !pfr->lpstrReplaceWith)))
|
||||
||(Replace && !pfr->lpstrReplaceWith))
|
||||
{
|
||||
COMDLG32_SetCommDlgExtendedError(FRERR_BUFFERLENGTHZERO);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user