Skip to content

Commit

Permalink
[NOTEPAD] F3 should not display error message when the find string is…
Browse files Browse the repository at this point in the history
… empty (reactos#7013)
  • Loading branch information
whindsaks authored Jun 12, 2024
1 parent dc97c0d commit 3123589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/applications/notepad/dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3123589

Please sign in to comment.