wineconsole: Improve 64bit compatibility.
Alexandre Julliard
julliard at winehq.org
Tue May 30 05:29:25 CDT 2006
Mike McCormack <mike at codeweavers.com> writes:
> @@ -153,7 +153,7 @@ static LRESULT WINAPI WCUSER_FontPreview
> SetWindowLong(hWnd, 0, 0);
> break;
> case WM_GETFONT:
> - return GetWindowLong(hWnd, 0);
> + return GetWindowLongPtr(hWnd, 0);
> case WM_SETFONT:
> SetWindowLong(hWnd, 0, wParam);
> if (LOWORD(lParam))
You should fix all the Get/SetWindowLong calls that set the same
value, changing only half will make things worse. You also have to
reserve the proper size in the window class.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list