comdlg32: ChooseFont: Set font effects on init (try 2)

Alexander Nicolaysen Sørnes alex at thehandofagony.com
Sun Sep 2 08:29:03 CDT 2007


comdlg32: ChooseFont: Set font effects on init


Regards,

Alexander N. Sørnes

Søndag 02 september 2007 14:55, skrev du :
> Hi Alexander,
>
> Alexander Nicolaysen Sørnes wrote:
> > comdlg32: ChooseFont: Set font effects on init
>
> [...]
>
> > +    {
> > +        if(lpxx->lfUnderline == TRUE)
> > +            CheckDlgButton(hDlg, chx2, TRUE);
> > +
>
> You shouldn't compare BOOL value to TRUE. Simple
>
> if(lpxx->lfUnderline)
>
> will be fine.
>
>

Thanks!

>
> Thanks,
>     Jacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0023-comdlg32-ChooseFont-Set-font-effects-on-init.patch
Type: text/x-diff
Size: 1190 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070902/3470dd42/0023-comdlg32-ChooseFont-Set-font-effects-on-init.bin


More information about the wine-patches mailing list