From 53ff4acbf341b20b772bdd87d06fed30e0d1b28a Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 14 Jan 2014 17:25:20 +0000 Subject: minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@7647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Variables/src/options.cpp') diff --git a/plugins/Variables/src/options.cpp b/plugins/Variables/src/options.cpp index cca948aa3c..d55ea340ed 100644 --- a/plugins/Variables/src/options.cpp +++ b/plugins/Variables/src/options.cpp @@ -107,7 +107,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA if (string != NULL) { TCHAR *newString = variables_parsedup(string, NULL, NULL); if (newString != NULL) { - SetWindowText(GetDlgItem(hwndDlg, IDC_RESULT), newString); + SetDlgItemText(hwndDlg, IDC_RESULT, newString); mir_free(newString); } mir_free(string); @@ -127,7 +127,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA return FALSE; } -int OptionsInit(WPARAM wParam, LPARAM lParam) +int OptionsInit(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { sizeof(odp) }; odp.position = 150000000; -- cgit v1.2.3