Tweak TRACE()s to simplify '\n' checks.
This commit is contained in:
parent
4b248447c0
commit
dd28d5be08
|
@ -2084,9 +2084,9 @@ HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig,
|
||||||
multiplier10 = pNumprs->nPwr10;
|
multiplier10 = pNumprs->nPwr10;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE("cDig %d; nPwr10 %d, whole %d, frac %d ", pNumprs->cDig,
|
TRACE("cDig %d; nPwr10 %d, whole %d, frac %d mult %d; div %d\n",
|
||||||
pNumprs->nPwr10, wholeNumberDigits, fractionalDigits);
|
pNumprs->cDig, pNumprs->nPwr10, wholeNumberDigits, fractionalDigits,
|
||||||
TRACE("mult %d; div %d\n", multiplier10, divisor10);
|
multiplier10, divisor10);
|
||||||
|
|
||||||
if (dwVtBits & (INTEGER_VTBITS|VTBIT_DECIMAL) &&
|
if (dwVtBits & (INTEGER_VTBITS|VTBIT_DECIMAL) &&
|
||||||
(!fractionalDigits || !(dwVtBits & (REAL_VTBITS|VTBIT_CY|VTBIT_DECIMAL))))
|
(!fractionalDigits || !(dwVtBits & (REAL_VTBITS|VTBIT_CY|VTBIT_DECIMAL))))
|
||||||
|
|
|
@ -340,8 +340,9 @@ HRESULT WINAPI ScriptItemize(const WCHAR *pwcInChars, int cInChars, int cMaxItem
|
||||||
pItems[index].a.s.fGcpClusters = 0;
|
pItems[index].a.s.fGcpClusters = 0;
|
||||||
pItems[index].a.s.fReserved = 0;
|
pItems[index].a.s.fReserved = 0;
|
||||||
pItems[index].a.s.fEngineReserved = 0;
|
pItems[index].a.s.fEngineReserved = 0;
|
||||||
TRACE("New_Script=%d, eScript=%d ", New_Script, pItems[index].a.eScript);
|
TRACE("New_Script=%d, eScript=%d index=%d cnt=%d iCharPos=%d\n",
|
||||||
TRACE("index=%d cnt=%d iCharPos=%d\n", index, cnt, pItems[index].iCharPos = cnt);
|
New_Script, pItems[index].a.eScript, index, cnt,
|
||||||
|
pItems[index].iCharPos = cnt);
|
||||||
|
|
||||||
for (cnt=0; cnt < cInChars; cnt++)
|
for (cnt=0; cnt < cInChars; cnt++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -94,7 +94,7 @@ static inline void DUMPCONTEXT(LOGCONTEXTA lc)
|
||||||
CHAR bits1[100];
|
CHAR bits1[100];
|
||||||
CHAR bits2[100];
|
CHAR bits2[100];
|
||||||
|
|
||||||
sprintf(mmsg,"%s, %x, %x, %x, %x, %x, %x, %x%s, %x%s, %x%s, %x, %x, %i, %i, %i, %li ,%li, %li, %li, %li, %li,%li, %li, %li, %li, %li, %li, %i, %i, %i, %i, %i %li %li\n",
|
sprintf(mmsg,"%s, %x, %x, %x, %x, %x, %x, %x%s, %x%s, %x%s, %x, %x, %i, %i, %i, %li ,%li, %li, %li, %li, %li,%li, %li, %li, %li, %li, %li, %i, %i, %i, %i, %i %li %li",
|
||||||
debugstr_a(lc.lcName), lc.lcOptions, lc.lcStatus, lc.lcLocks, lc.lcMsgBase,
|
debugstr_a(lc.lcName), lc.lcOptions, lc.lcStatus, lc.lcLocks, lc.lcMsgBase,
|
||||||
lc.lcDevice, lc.lcPktRate, (UINT)lc.lcPktData, DUMPBITS(lc.lcPktData,bits),
|
lc.lcDevice, lc.lcPktRate, (UINT)lc.lcPktData, DUMPBITS(lc.lcPktData,bits),
|
||||||
(UINT)lc.lcPktMode, DUMPBITS(lc.lcPktMode,bits1), (UINT)lc.lcMoveMask,
|
(UINT)lc.lcPktMode, DUMPBITS(lc.lcPktMode,bits1), (UINT)lc.lcMoveMask,
|
||||||
|
@ -104,7 +104,7 @@ lc.lcInExtZ, lc.lcOutOrgX, lc.lcOutOrgY, lc.lcOutOrgZ, lc.lcOutExtX,
|
||||||
lc.lcOutExtY, lc.lcOutExtZ, lc.lcSensX, lc.lcSensY, lc.lcSensZ, lc.lcSysMode,
|
lc.lcOutExtY, lc.lcOutExtZ, lc.lcSensX, lc.lcSensY, lc.lcSensZ, lc.lcSysMode,
|
||||||
lc.lcSysOrgX, lc.lcSysOrgY, lc.lcSysExtX, lc.lcSysExtY, lc.lcSysSensX,
|
lc.lcSysOrgX, lc.lcSysOrgY, lc.lcSysExtX, lc.lcSysExtY, lc.lcSysSensX,
|
||||||
lc.lcSysSensY);
|
lc.lcSysSensY);
|
||||||
TRACE("context: %s",mmsg);
|
TRACE("context: %s\n",mmsg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue