From 28412b4c61183eb1b33adeee5dbc8e9cefc92d9f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jul 2013 19:14:24 +0000 Subject: varioius minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@5517 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WebView/src/webview_opts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/WebView/src/webview_opts.cpp') diff --git a/plugins/WebView/src/webview_opts.cpp b/plugins/WebView/src/webview_opts.cpp index c739027a4a..ba9ed25852 100644 --- a/plugins/WebView/src/webview_opts.cpp +++ b/plugins/WebView/src/webview_opts.cpp @@ -279,7 +279,7 @@ INT_PTR CALLBACK DlgProcAlertOpt(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l for (i = 0; i < SIZEOF(AlertTypes); i++) SendDlgItemMessage(hwndDlg, IDC_ALERT_TYPE, CB_ADDSTRING, 0, (LPARAM)TranslateTS(AlertTypes[i])); - for (i = 0; i < sizeof(EventTypes); i++) + for (i = 0; i < SIZEOF(EventTypes); i++) SendDlgItemMessage(hwndDlg, IDC_EVENT_TYPE, CB_ADDSTRING, 0, (LPARAM)TranslateTS(EventTypes[i])); if (db_get_b(hContact, MODULENAME, ENABLE_ALERTS_KEY, 0)) { -- cgit v1.2.3