summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/opt_passwords.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-11-25 18:37:22 +0300
committerMataes <mataes2007@gmail.com>2018-11-25 18:37:22 +0300
commitf975e96f73808081fe9cfe210d4793e27ad6d75e (patch)
tree4c1ceee24bd0a883d3719d898401cd4762cba620 /plugins/NewStory/src/opt_passwords.cpp
parenta9fc0f61059fea8c39799d8c866ef1aa505f693e (diff)
NewStory: worning fixes, icons compiles
Diffstat (limited to 'plugins/NewStory/src/opt_passwords.cpp')
-rw-r--r--plugins/NewStory/src/opt_passwords.cpp2
1 files changed, 1 insertions, 1 deletions
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)