27 Apr
2023
27 Apr
'23
10:45 a.m.
On Thu Apr 27 10:39:28 2023 +0000, Huw Davies wrote:
Is there more code to go in here or could it be simplified to: ```suggestion:-8+0 if (!datatype || ((printer->info->attributes & PRINTER_ATTRIBUTE_RAW_ONLY) && wcsicmp(datatype, L"RAW"))) { TRACE("non RAW datatype specified on RAW-only printer (%s)\n", debugstr_w(datatype)); SetLastError(ERROR_INVALID_DATATYPE); return 0; } ``` No, I have changed it as suggested. Thanks.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2718#note_31372