riched20: Adjusted shift by 8 bits to 16 bits (Coverity).
This commit is contained in:
parent
055c883ee0
commit
2ae0d40c8f
|
@ -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:");
|
||||
|
|
Loading…
Reference in New Issue