summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NoHistory/src/options.cpp')
-rw-r--r--plugins/NoHistory/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NoHistory/src/options.cpp b/plugins/NoHistory/src/options.cpp
index 684d7bdc5a..26595cd1e6 100644
--- a/plugins/NoHistory/src/options.cpp
+++ b/plugins/NoHistory/src/options.cpp
@@ -79,7 +79,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);
}
static void SetAllContactIcons(HWND hwndList)