Commit 0e4c00a7 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wintab32: Remove an always TRUE conditional expression (PVS-Studio).

parent 36ab1878
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment