Commit 3e59606a authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wordpad: Don't compare with TRUE.

parent 43b7a0db
......@@ -601,9 +601,9 @@ static void dialog_choose_font(void)
fmt.dwEffects |= CFE_BOLD;
if(cf.nFontType & ITALIC_FONTTYPE)
fmt.dwEffects |= CFE_ITALIC;
if(cf.lpLogFont->lfUnderline == TRUE)
if(cf.lpLogFont->lfUnderline)
fmt.dwEffects |= CFE_UNDERLINE;
if(cf.lpLogFont->lfStrikeOut == TRUE)
if(cf.lpLogFont->lfStrikeOut)
fmt.dwEffects |= CFE_STRIKEOUT;
fmt.crTextColor = cf.rgbColors;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment