mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[NOTEPAD] F3 should not display error message when the find string is empty (#7013)
This commit is contained in:
parent
dc97c0d109
commit
3123589edd
1 changed files with 1 additions and 1 deletions
|
@ -820,7 +820,7 @@ VOID DIALOG_SearchNext(BOOL bDown)
|
|||
else
|
||||
Globals.find.Flags &= ~FR_DOWN;
|
||||
|
||||
if (Globals.find.lpstrFindWhat != NULL)
|
||||
if (Globals.find.lpstrFindWhat != NULL && *Globals.find.lpstrFindWhat)
|
||||
NOTEPAD_FindNext(&Globals.find, FALSE, TRUE);
|
||||
else
|
||||
DIALOG_Search();
|
||||
|
|
Loading…
Reference in a new issue