wine/dlls/commdlg fontdlg.c

Dmitry Timoshkov dmitry at baikal.ru
Mon Aug 16 00:57:55 CDT 2004


"Jacek Caban" <jack at itma.pwr.wroc.pl> wrote:

>      case WM_COMMAND:
> -        return CFn_WMCommand(hDlg, wParam, lParam, (LPCHOOSEFONTW)lpcf32w);
> +        return CFn_WMCommand(hDlg, wParam, lParam, (LPCHOOSEFONTA)lpcf32w);

No, that's not enough. As Vincent pointed out CFn_WMCommand accesses structure
dependent fields and you need to convert the structure in order to make it work.

-- 
Dmitry.




More information about the wine-devel mailing list