summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/opt_passwords.cpp
diff options
context:
space:
mode:
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)