From bc7df32e3b5a264c0eeb6a20b723cdab02cf7688 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 05:13:25 +0000 Subject: SetWindowText(GetDlgItem(...)) -> SetDlgItemText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11391 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/viewmodes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_nicer/src') diff --git a/plugins/Clist_nicer/src/viewmodes.cpp b/plugins/Clist_nicer/src/viewmodes.cpp index bc6b00ca2e..961a617292 100644 --- a/plugins/Clist_nicer/src/viewmodes.cpp +++ b/plugins/Clist_nicer/src/viewmodes.cpp @@ -891,9 +891,9 @@ LRESULT CALLBACK ViewModeFrameWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM } if (cfg::dat.bFilterEffective) - SetWindowTextA(GetDlgItem(hwnd, IDC_SELECTMODE), cfg::dat.current_viewmode); + SetDlgItemTextA(hwnd, IDC_SELECTMODE, cfg::dat.current_viewmode); else - SetWindowText(GetDlgItem(hwnd, IDC_SELECTMODE), TranslateT("No view mode")); + SetDlgItemText(hwnd, IDC_SELECTMODE, TranslateT("No view mode")); break; case WM_ERASEBKGND: @@ -981,7 +981,7 @@ LRESULT CALLBACK ViewModeFrameWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM clvm_reset_command: cfg::dat.bFilterEffective = 0; pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0); - SetWindowTextA(GetDlgItem(hwnd, IDC_SELECTMODE), Translate("No view mode")); + SetDlgItemTextA(hwnd, IDC_SELECTMODE, Translate("No view mode")); CallService(MS_CLIST_SETHIDEOFFLINE, (WPARAM)cfg::dat.boldHideOffline, 0); cfg::dat.boldHideOffline = (BYTE)-1; SetButtonStates(); -- cgit v1.2.3