From b925439a14ac8c8787034f30631ad60dd626a299 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 6 Mar 2011 23:27:09 +0000 Subject: rationalise windows resource script make window options dialog into a property sheet svn path=/trunk/netsurf/; revision=11929 --- windows/about.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'windows/about.c') diff --git a/windows/about.c b/windows/about.c index e73b270ce..515d36258 100644 --- a/windows/about.c +++ b/windows/about.c @@ -67,7 +67,7 @@ BOOL CALLBACK nsws_about_event_callback(HWND hwnd, UINT msg, WPARAM wparam, { switch(msg) { case WM_INITDIALOG: { - HWND content = GetDlgItem(hwnd, NSWS_ID_ABOUT_CONTENT); + HWND content = GetDlgItem(hwnd, IDC_ABOUT_CONTENT); /* modify label NSWS_ID_ABOUT_CONTENT */ size_t len; char *newcontent, *authors, *artists, *documenters; @@ -165,7 +165,7 @@ BOOL CALLBACK nsws_about_event_callback(HWND hwnd, UINT msg, WPARAM wparam, void nsws_about_dialog_init(HINSTANCE hinst, HWND parent) { - int ret = DialogBox(hinst, MAKEINTRESOURCE(NSWS_ID_ABOUT_DIALOG), parent, + int ret = DialogBox(hinst, MAKEINTRESOURCE(IDD_DLG_ABOUT), parent, nsws_about_event_callback); if (ret == -1) { warn_user(messages_get("NoMemory"), 0); -- cgit v1.2.3