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

Has the lovely side effect of making Photoshop pressure + tilt work.
This commit is contained in:
Jeremy White 2007-12-24 13:35:32 -06:00 committed by Alexandre Julliard
parent f193197a66
commit 51ea5cb4e8
1 changed files with 2 additions and 1 deletions

View File

@ -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;