mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:13:01 +00:00
[REGEDIT]
- Don't display "finished" message if search is aborted. Patch by Katayama Hirofumi. See issue #5421 for more details. svn path=/trunk/; revision=47328
This commit is contained in:
parent
772c56e48d
commit
fd303a1a46
1 changed files with 2 additions and 2 deletions
|
@ -684,7 +684,7 @@ BOOL FindNext(HWND hWnd)
|
||||||
free(pszFoundValueName);
|
free(pszFoundValueName);
|
||||||
SetFocus(g_pChildWnd->hListWnd);
|
SetFocus(g_pChildWnd->hListWnd);
|
||||||
}
|
}
|
||||||
return fSuccess;
|
return fSuccess || s_bAbort;
|
||||||
}
|
}
|
||||||
|
|
||||||
static INT_PTR CALLBACK FindDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
static INT_PTR CALLBACK FindDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
|
@ -807,7 +807,7 @@ void FindDialog(HWND hWnd)
|
||||||
if (DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_FIND),
|
if (DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_FIND),
|
||||||
hWnd, FindDialogProc, 0) != 0)
|
hWnd, FindDialogProc, 0) != 0)
|
||||||
{
|
{
|
||||||
if (FindNext(hWnd) == FALSE)
|
if (!FindNext(hWnd))
|
||||||
{
|
{
|
||||||
TCHAR msg[128], caption[128];
|
TCHAR msg[128], caption[128];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue