mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[NOTEPAD] F3 should not display error message when the find string is empty (#7013)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user