Bug fixed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@994 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
362687501d
commit
102e4288d5
1 changed files with 2 additions and 2 deletions
|
@ -296,7 +296,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
||||||
case IDM_FIND:
|
case IDM_FIND:
|
||||||
{
|
{
|
||||||
if (!uFindReplaceMsg)
|
if (!uFindReplaceMsg)
|
||||||
uFindReplaceMsg = RegisterWindowMessage(FINDMSGSTRING);
|
uFindReplaceMsg = RegisterWindowMessage(FINDMSGSTRING);
|
||||||
my_memset(&fr, 0, sizeof(FINDREPLACE));
|
my_memset(&fr, 0, sizeof(FINDREPLACE));
|
||||||
fr.lStructSize = sizeof(FINDREPLACE);
|
fr.lStructSize = sizeof(FINDREPLACE);
|
||||||
fr.hwndOwner = hwndDlg;
|
fr.hwndOwner = hwndDlg;
|
||||||
|
@ -310,7 +310,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (msg == uFindReplaceMsg) {
|
if (uFindReplaceMsg && msg == uFindReplaceMsg) {
|
||||||
LPFINDREPLACE lpfr = (LPFINDREPLACE)lParam;
|
LPFINDREPLACE lpfr = (LPFINDREPLACE)lParam;
|
||||||
if (lpfr->Flags & FR_FINDNEXT) {
|
if (lpfr->Flags & FR_FINDNEXT) {
|
||||||
WPARAM flags = FR_DOWN;
|
WPARAM flags = FR_DOWN;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue