summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IgnoreState/options.cpp')
-rw-r--r--plugins/IgnoreState/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/IgnoreState/options.cpp b/plugins/IgnoreState/options.cpp
index 898facf914..685ad239b9 100644
--- a/plugins/IgnoreState/options.cpp
+++ b/plugins/IgnoreState/options.cpp
@@ -140,7 +140,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
SendMessage(GetDlgItem(hwndDlg, IDC_ADVICON), CB_SETCURSEL, clistIcon, 0);
}
- SetWindowLong(hTree,GWL_STYLE,GetWindowLong(hTree,GWL_STYLE)|TVS_NOHSCROLL);
+ SetWindowLongPtr(hTree,GWL_STYLE,GetWindowLongPtr(hTree,GWL_STYLE)|TVS_NOHSCROLL);
{
himlButtonIcons=ImageList_Create(GetSystemMetrics(SM_CXSMICON),GetSystemMetrics(SM_CYSMICON),ILC_COLOR32|ILC_MASK,2,2);
TreeView_SetImageList(hTree,himlButtonIcons,TVSIL_NORMAL);