Commit 216a1b37 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

winspool: Adjust the typo of a loop variable in test_EnumForms().

Simplify a test in test_GetPrinterDriver().
parent 02afd70f
......@@ -768,7 +768,7 @@ static void test_EnumForms(LPSTR pName)
DWORD pcbNeeded;
DWORD pcReturned;
DWORD level;
INT i;
UINT i;
const char *formtype;
static const char * const formtypes[] = { "FORM_USER", "FORM_BUILTIN", "FORM_PRINTER", "FORM_flag_unknown" };
#define FORMTYPE_MAX 2
......@@ -2115,7 +2115,7 @@ static void test_GetPrinterDriver(void)
/* MSDN is wrong: The Drivers on the win9x-CD's have cVersion=0x0400
NT351: 1, NT4.0+w2k(Kernelmode): 2, w2k and above(Usermode): 3 */
ok((di_2->cVersion >= 0 && di_2->cVersion <= 3) ||
ok( (di_2->cVersion <= 3) ||
(di_2->cVersion == 0x0400), "di_2->cVersion = %d\n", di_2->cVersion);
ok(di_2->pName != NULL, "not expected NULL ptr\n");
ok(di_2->pEnvironment != NULL, "not expected NULL ptr\n");
......
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