Esme Povirk (@madewokherd) commented about dlls/sane.ds/ds_image.c:
default: sid_format=IDS_UNKNOWN; }
LoadStringA( SANE_instance, sid_format, szFormat, ARRAY_SIZE( szFormat ) );
LoadStringW( SANE_instance, sid_format, szFormat, ARRAY_SIZE( szFormat ) );
SetDlgItemTextA(activeDS.progressWnd, IDC_RESOLUTION, szFormat);
SetDlgItemTextW(activeDS.progressWnd, IDC_RESOLUTION, szFormat);
Please move this change to the commit that introduced these calls.