10 Nov
2025
10 Nov
'25
8:55 p.m.
Esme Povirk (@madewokherd) commented about dlls/sane.ds/capability.c:
twCC = msg_set(pCapability, &val); if (twCC == TWCC_SUCCESS) { - activeDS.capXferMech = (TW_UINT16) val; - FIXME("Partial Stub: XFERMECH set to %ld, but ignored\n", val); - } - break; + if (val == TWSX_NATIVE || val == TWSX_MEMORY) + { + activeDS.capXferMech = (TW_UINT16) val; + FIXME("Partial Stub: XFERMECH set to %ld, but ignored\n", val); + }
Indentation got a bit weird here, might've accidentally mixed tabs and spaces? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9397#note_121409