winprint: Fix datatype validation in PrintDocumentOnPrintProcessor.

This commit is contained in:
Piotr Caban 2022-12-03 18:42:59 +01:00 committed by Alexandre Julliard
parent a98fb06a5b
commit c8d28f2702

View file

@ -111,7 +111,7 @@ HANDLE WINAPI OpenPrintProcessor(WCHAR *port, PRINTPROCESSOROPENDATA *open_data)
SetLastError(ERROR_INVALID_PARAMETER);
return NULL;
}
if (!wcscmp(open_data->pDatatype, L"RAW"))
if (wcscmp(open_data->pDatatype, L"RAW"))
{
SetLastError(ERROR_INVALID_DATATYPE);
return NULL;