wordpad: Don't compare with TRUE.
This commit is contained in:
parent
43b7a0db48
commit
3e59606a3c
|
@ -601,9 +601,9 @@ static void dialog_choose_font(void)
|
||||||
fmt.dwEffects |= CFE_BOLD;
|
fmt.dwEffects |= CFE_BOLD;
|
||||||
if(cf.nFontType & ITALIC_FONTTYPE)
|
if(cf.nFontType & ITALIC_FONTTYPE)
|
||||||
fmt.dwEffects |= CFE_ITALIC;
|
fmt.dwEffects |= CFE_ITALIC;
|
||||||
if(cf.lpLogFont->lfUnderline == TRUE)
|
if(cf.lpLogFont->lfUnderline)
|
||||||
fmt.dwEffects |= CFE_UNDERLINE;
|
fmt.dwEffects |= CFE_UNDERLINE;
|
||||||
if(cf.lpLogFont->lfStrikeOut == TRUE)
|
if(cf.lpLogFont->lfStrikeOut)
|
||||||
fmt.dwEffects |= CFE_STRIKEOUT;
|
fmt.dwEffects |= CFE_STRIKEOUT;
|
||||||
|
|
||||||
fmt.crTextColor = cf.rgbColors;
|
fmt.crTextColor = cf.rgbColors;
|
||||||
|
|
Loading…
Reference in New Issue