Fixed: Truncated pointer

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-06 20:25:31 +01:00
parent c79e47384d
commit b112b7bc9b

View file

@ -223,7 +223,7 @@ BOOL CALLBACK PatchObjSurfDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM
ep =(EditPatchMod *)lParam;
ep->hSurfPanel = hDlg;
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG)ep);
SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG_PTR)ep);
if (!ep->settingViewportTess && ep->settingDisp && ep->GetProdTess().type == TESS_SET)
ep->settingDisp = FALSE;
TessApprox t;