summaryrefslogtreecommitdiff
path: root/protocols/Dummy/src/dummy_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Dummy/src/dummy_options.cpp')
-rw-r--r--protocols/Dummy/src/dummy_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Dummy/src/dummy_options.cpp b/protocols/Dummy/src/dummy_options.cpp
index 279140bc29..4ff413d2dd 100644
--- a/protocols/Dummy/src/dummy_options.cpp
+++ b/protocols/Dummy/src/dummy_options.cpp
@@ -59,10 +59,10 @@ INT_PTR CALLBACK DummyAccountProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
switch (((LPNMHDR)lParam)->code) {
case PSN_APPLY:
char str[128];
- GetDlgItemTextA(hwndDlg, IDC_ID_TEXT, str, SIZEOF(str));
+ GetDlgItemTextA(hwndDlg, IDC_ID_TEXT, str, _countof(str));
ppro->setString(DUMMY_ID_TEXT, str);
- GetDlgItemTextA(hwndDlg, IDC_ID_SETTING, str, SIZEOF(str));
+ GetDlgItemTextA(hwndDlg, IDC_ID_SETTING, str, _countof(str));
ppro->setString(DUMMY_ID_SETTING, str);
}
break;