Commit c8d28f27 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

winprint: Fix datatype validation in PrintDocumentOnPrintProcessor.

parent a98fb06a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment