Commit 51ea5cb4 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

wintab32: Fix the W->A translation for CSR_NAME and CSR_BTNNAMES.

Has the lovely side effect of making Photoshop pressure + tilt work.
parent f193197a
......@@ -73,7 +73,8 @@ static BOOL is_string_field(UINT wCategory, UINT nIndex)
return TRUE;
if (is_logcontext_category(wCategory) && nIndex == CTX_NAME)
return TRUE;
if (wCategory >= WTI_CURSORS && wCategory <= WTI_CURSORS + 9)
if ((wCategory >= WTI_CURSORS && wCategory <= WTI_CURSORS + 9) &&
(nIndex == CSR_NAME || nIndex == CSR_BTNNAMES))
return TRUE;
if (wCategory == WTI_DEVICES && (nIndex == DVC_NAME || nIndex == DVC_PNPID))
return TRUE;
......
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