Module: wine Branch: master Commit: 0e4c00a7065e854320d90b150ede2062a97c9979 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0e4c00a7065e854320d90b150e...
Author: Michael Stefaniuc mstefani@redhat.de Date: Mon Jan 12 11:28:30 2015 +0100
wintab32: Remove an always TRUE conditional expression (PVS-Studio).
---
dlls/wintab32/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c index 9bc29a4..8db6217 100644 --- a/dlls/wintab32/context.c +++ b/dlls/wintab32/context.c @@ -410,7 +410,7 @@ static UINT WTInfoT(UINT wCategory, UINT nIndex, LPVOID lpOutput, BOOL bUnicode) pWTInfoW(wCategory, nIndex, &buf);
/* Handle system extents here, as we can use user32.dll code to set them */ - if(wCategory == WTI_DEFSYSCTX && nIndex == 0) + if(wCategory == WTI_DEFSYSCTX) { buf.lcSysExtX = GetSystemMetrics(SM_CXSCREEN); buf.lcSysExtY = GetSystemMetrics(SM_CYSCREEN);