Module: wine Branch: master Commit: 2ae0d40c8ff700c174aee855c8286a4e476ae6f9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2ae0d40c8ff700c174aee855c8...
Author: Marcus Meissner meissner@suse.de Date: Thu May 5 17:52:52 2011 +0200
riched20: Adjusted shift by 8 bits to 16 bits (Coverity).
---
dlls/riched20/para.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/riched20/para.c b/dlls/riched20/para.c index b6319e7..efd3d04 100644 --- a/dlls/riched20/para.c +++ b/dlls/riched20/para.c @@ -475,7 +475,7 @@ void ME_DumpParaStyleToBuf(const PARAFORMAT2 *pFmt, char buf[2048])
/* we take for granted that PFE_xxx is the hiword of the corresponding PFM_xxx */ #define DUMP_EFFECT(mask, name) \ - p += sprintf(p, "%-22s%s\n", name, (pFmt->dwMask & (mask)) ? ((pFmt->wEffects & ((mask) >> 8)) ? "yes" : "no") : "N/A"); + p += sprintf(p, "%-22s%s\n", name, (pFmt->dwMask & (mask)) ? ((pFmt->wEffects & ((mask) >> 16)) ? "yes" : "no") : "N/A");
DUMP(PFM_NUMBERING, "Numbering:", "%u", wNumbering); DUMP_EFFECT(PFM_DONOTHYPHEN, "Disable auto-hyphen:");