diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 04:44:35 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-14 04:44:35 +0000 |
commit | 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (patch) | |
tree | b81fde138c27395492788b527b7e781a85c44c6f /plugins/Clist_nicer | |
parent | 850259c4eab1a77d973af51cd3bd62fbbd09f591 (diff) |
GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/skineditor/src/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_nicer/skineditor/src/main.cpp b/plugins/Clist_nicer/skineditor/src/main.cpp index 3125a9304a..ac45005c8a 100644 --- a/plugins/Clist_nicer/skineditor/src/main.cpp +++ b/plugins/Clist_nicer/skineditor/src/main.cpp @@ -424,31 +424,31 @@ static void UpdateStatusStructSettingsFromOptDlg(HWND hwndDlg, int index) p->TEXTCOLOR = SendDlgItemMessage(hwndDlg, IDC_TEXTCOLOUR, CPM_GETCOLOUR, 0, 0); if (ChangedSItems.bALPHA) { - GetWindowTextA(GetDlgItem(hwndDlg, IDC_ALPHA), buf, 10); // can be removed now + GetDlgItemTextA(hwndDlg, IDC_ALPHA, buf, 10); // can be removed now if (buf[0] != 0) p->ALPHA = (BYTE) SendDlgItemMessage(hwndDlg, IDC_ALPHASPIN, UDM_GETPOS, 0, 0); } if (ChangedSItems.bMARGIN_LEFT) { - GetWindowTextA(GetDlgItem(hwndDlg, IDC_MRGN_LEFT), buf, 10); + GetDlgItemTextA(hwndDlg, IDC_MRGN_LEFT, buf, 10); if (buf[0] != 0) p->MARGIN_LEFT = (BYTE) SendDlgItemMessage(hwndDlg, IDC_MRGN_LEFT_SPIN, UDM_GETPOS, 0, 0); } if (ChangedSItems.bMARGIN_TOP) { - GetWindowTextA(GetDlgItem(hwndDlg, IDC_MRGN_TOP), buf, 10); + GetDlgItemTextA(hwndDlg, IDC_MRGN_TOP, buf, 10); if (buf[0] != 0) p->MARGIN_TOP = (BYTE) SendDlgItemMessage(hwndDlg, IDC_MRGN_TOP_SPIN, UDM_GETPOS, 0, 0); } if (ChangedSItems.bMARGIN_RIGHT) { - GetWindowTextA(GetDlgItem(hwndDlg, IDC_MRGN_RIGHT), buf, 10); + GetDlgItemTextA(hwndDlg, IDC_MRGN_RIGHT, buf, 10); if (buf[0] != 0) p->MARGIN_RIGHT = (BYTE) SendDlgItemMessage(hwndDlg, IDC_MRGN_RIGHT_SPIN, UDM_GETPOS, 0, 0); } if (ChangedSItems.bMARGIN_BOTTOM) { - GetWindowTextA(GetDlgItem(hwndDlg, IDC_MRGN_BOTTOM), buf, 10); + GetDlgItemTextA(hwndDlg, IDC_MRGN_BOTTOM, buf, 10); if (buf[0] != 0) p->MARGIN_BOTTOM = (BYTE) SendDlgItemMessage(hwndDlg, IDC_MRGN_BOTTOM_SPIN, UDM_GETPOS, 0, 0); } |