From e723426214bb76308d5be73126da92ad6350c32c Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 20 Apr 2016 11:25:03 -0300 Subject: [PATCH] Minor fix at pen_win.h WTInfo is a macro defined as WTInfoW so anyway WTInfoW function was being used. --- src/pen/pen_win.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pen/pen_win.h b/src/pen/pen_win.h index 753cb7bed..5314046ed 100644 --- a/src/pen/pen_win.h +++ b/src/pen/pen_win.h @@ -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);