From c47d51da563a5e080a64daf0749170769ef617ae Mon Sep 17 00:00:00 2001 From: justin1014 Date: Sat, 21 Sep 2002 03:21:56 +0000 Subject: [PATCH] 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 --- Source/exehead/Ui.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 64bc5ded..6493ac4a 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -76,7 +76,7 @@ static int num_sections; #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); } @@ -625,7 +625,7 @@ static BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l if (id == IDOK && m_curwnd) { - notify(1); + outernotify(1); } if ( #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)) { EnableWindow(GetDlgItem(hwndDlg, IDOK), TRUE); - notify(-1); + outernotify(-1); } if (id == IDCANCEL) { @@ -730,7 +730,7 @@ static BOOL CALLBACK LicenseProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM if (msgfilter->msg==WM_KEYDOWN && msgfilter->wParam==VK_RETURN) { - notify(1); + outernotify(1); return 1; } } @@ -1452,7 +1452,7 @@ static BOOL CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa } else { - notify(1); + outernotify(1); } } else