Michael Stefaniuc : wordpad: Don't compare with TRUE.
Alexandre Julliard
julliard at winehq.org
Mon Oct 3 17:21:24 CDT 2011
Module: wine
Branch: master
Commit: 3e59606a3c7dffda0bb39d3c54b89851061c40ff
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e59606a3c7dffda0bb39d3c54b89851061c40ff
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sat Oct 1 21:44:54 2011 +0200
wordpad: Don't compare with TRUE.
---
programs/wordpad/wordpad.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index feb618c..c5317ab 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -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;
More information about the wine-cvs
mailing list