Browse Source

Fix x64 crash in Find all files (closes #954, fixes #953)

This issue has begun since d9299e644f
pull/954/merge
Linquize 9 years ago committed by Don Ho
parent
commit
02b342f441
  1. 2
      PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

2
PowerEditor/src/ScitillaComponent/FindReplaceDlg.cpp

@ -3258,7 +3258,7 @@ LRESULT APIENTRY Progress::wndProc(HWND hwnd, UINT umsg, WPARAM wparam, LPARAM l
case WM_CREATE:
{
Progress* pw =(Progress*)((LPCREATESTRUCT)lparam)->lpCreateParams;
::SetWindowLongPtr(hwnd, GWLP_USERDATA, PtrToUlong(pw));
::SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)pw);
return 0;
}

Loading…
Cancel
Save