mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:50:49 +00:00
winprint: Fix datatype validation in PrintDocumentOnPrintProcessor.
This commit is contained in:
parent
a98fb06a5b
commit
c8d28f2702
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue