Commit 1a10b1c0 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Return correct error code in EnumPrinters.

parent b5a87798
......@@ -2890,7 +2890,8 @@ static BOOL WINSPOOL_EnumPrinterDrivers(LPWSTR pName, LPWSTR pEnvironment,
/* check input parameter */
if((Level < 1) || (Level > 3)) {
ERR("unsupported level %ld \n", Level);
ERR("unsupported level %ld\n", Level);
SetLastError(ERROR_INVALID_LEVEL);
return FALSE;
}
......
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