Minor fix at pen_win.h

WTInfo is a macro defined as WTInfoW so anyway WTInfoW function was
being used.
This commit is contained in:
David Capello 2016-04-20 11:25:03 -03:00
parent 4be68ab5f0
commit e723426214

View File

@ -33,7 +33,7 @@ public:
LOGCONTEXTW logctx;
memset(&logctx, 0, sizeof(LOGCONTEXTW));
logctx.lcOptions |= CXO_SYSTEM;
UINT infoRes = WTInfo(WTI_DEFSYSCTX, 0, &logctx);
UINT infoRes = WTInfoW(WTI_DEFSYSCTX, 0, &logctx);
ASSERT(infoRes == sizeof(LOGCONTEXTW));
ASSERT(logctx.lcOptions & CXO_SYSTEM);