From f975e96f73808081fe9cfe210d4793e27ad6d75e Mon Sep 17 00:00:00 2001 From: Mataes Date: Sun, 25 Nov 2018 18:37:22 +0300 Subject: NewStory: worning fixes, icons compiles --- plugins/NewStory/src/opt_passwords.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src/opt_passwords.cpp') diff --git a/plugins/NewStory/src/opt_passwords.cpp b/plugins/NewStory/src/opt_passwords.cpp index 16efd37ec2..eb9be44eaa 100644 --- a/plugins/NewStory/src/opt_passwords.cpp +++ b/plugins/NewStory/src/opt_passwords.cpp @@ -19,7 +19,7 @@ static void ResetListOptions(HWND hwndList) SendMessage(hwndList, CLM_SETINDENT, 10, 0); for (int i = 0; i <= FONTID_MAX; i++) SendMessage(hwndList, CLM_SETTEXTCOLOR, i, GetSysColor(COLOR_WINDOWTEXT)); - SetWindowLong(hwndList, GWL_STYLE, GetWindowLong(hwndList, GWL_STYLE) | CLS_SHOWHIDDEN); + SetWindowLongPtr(hwndList, GWL_STYLE, GetWindowLongPtr(hwndList, GWL_STYLE) | CLS_SHOWHIDDEN); } INT_PTR CALLBACK OptPasswordsDlgProc(HWND hwnd, UINT msg, WPARAM, LPARAM lParam) -- cgit v1.2.3