Mike McCormack wrote:
@@ -1217,7 +1220,7 @@ static INT_PTR CALLBACK ColorDlgProc( HW DeleteDC(lpp->hdcMem); DeleteObject(lpp->hbmMem); HeapFree(GetProcessHeap(), 0, lpp);
SetWindowLongPtrW(hDlg, DWLP_USER, 0); /* we don't need it anymore */
SetPropW( hDlg, szColourDialogProp, lpp );
SetPropW( hDlg, szColourDialogProp, lpp ) should be SetPropW( hDlg, szColourDialogProp, NULL ).