summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/options.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-01-14 17:25:20 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-01-14 17:25:20 +0000
commit53ff4acbf341b20b772bdd87d06fed30e0d1b28a (patch)
treeaf2481bf55255c92f40254b6350cf43847ffa3dd /plugins/Variables/src/options.cpp
parent127744a38a4bad16aa1cbf20c3824345a9644c5a (diff)
minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@7647 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/options.cpp')
-rw-r--r--plugins/Variables/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
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;