renamed notify() to outernotify() and made static

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1104 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
justin1014 2002-09-21 03:21:56 +00:00
parent d94be8af2a
commit c47d51da56

View file

@ -76,7 +76,7 @@ static int num_sections;
#define WM_TREEVIEW_KEYHACK (WM_USER+0x13) #define WM_TREEVIEW_KEYHACK (WM_USER+0x13)
void NSISCALL notify(char num) { static void NSISCALL outernotify(char num) {
SendMessage(g_hwnd,WM_NOTIFY_OUTER_NEXT,(WPARAM)num,0); SendMessage(g_hwnd,WM_NOTIFY_OUTER_NEXT,(WPARAM)num,0);
} }
@ -625,7 +625,7 @@ static BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
if (id == IDOK && m_curwnd) if (id == IDOK && m_curwnd)
{ {
notify(1); outernotify(1);
} }
if ( if (
#ifdef NSIS_CONFIG_UNINSTALL_SUPPORT #ifdef NSIS_CONFIG_UNINSTALL_SUPPORT
@ -634,7 +634,7 @@ static BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
(id == IDC_BACK && m_curwnd && m_page>0)) (id == IDC_BACK && m_curwnd && m_page>0))
{ {
EnableWindow(GetDlgItem(hwndDlg, IDOK), TRUE); EnableWindow(GetDlgItem(hwndDlg, IDOK), TRUE);
notify(-1); outernotify(-1);
} }
if (id == IDCANCEL) if (id == IDCANCEL)
{ {
@ -730,7 +730,7 @@ static BOOL CALLBACK LicenseProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
if (msgfilter->msg==WM_KEYDOWN && if (msgfilter->msg==WM_KEYDOWN &&
msgfilter->wParam==VK_RETURN) msgfilter->wParam==VK_RETURN)
{ {
notify(1); outernotify(1);
return 1; return 1;
} }
} }
@ -1452,7 +1452,7 @@ static BOOL CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
} }
else else
{ {
notify(1); outernotify(1);
} }
} }
else else