From 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 04:44:35 +0000 Subject: GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/skineditor/src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Clist_nicer') 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); } -- cgit v1.2.3