summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 03:59:41 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 03:59:41 +0000
commit7e97bbad5f31058886766c569303a0da648cbe92 (patch)
treea1738907125dd0cf9f384306de6101e4f3f3f951 /plugins/SimpleStatusMsg
parentfe0465b11a317db5408d897484caedc3a5f10c47 (diff)
SendDlgItemMessage(...., WM_SETTEXT...) -> SetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11388 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg')
-rw-r--r--plugins/SimpleStatusMsg/src/msgbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleStatusMsg/src/msgbox.cpp b/plugins/SimpleStatusMsg/src/msgbox.cpp
index 633eb257cf..4b265fa354 100644
--- a/plugins/SimpleStatusMsg/src/msgbox.cpp
+++ b/plugins/SimpleStatusMsg/src/msgbox.cpp
@@ -698,7 +698,7 @@ void DisplayCharsCount(struct MsgBoxData *dlg_data, HWND hwndDlg)
}
}
mir_sntprintf(status_text, SIZEOF(status_text), TranslateT("OK (%d)"), len - (lines - 1));
- SendDlgItemMessage(hwndDlg, IDC_OK, WM_SETTEXT, 0, (LPARAM)status_text);
+ SetDlgItemText(hwndDlg, IDC_OK, status_text);
}
void SetEditControlText(struct MsgBoxData *data, HWND hwndDlg, int iStatus)