[winspool.drv/tests] Fix typo

Paul Vriens paul.vriens.wine at gmail.com
Sun Dec 10 04:01:30 CST 2006


Hi,

obviously something got lost there.

Changelog
  Fix typo

Cheers,

Paul.
---
 dlls/winspool.drv/tests/info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index eafddd6..8f3bdd0 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -1650,7 +1650,7 @@ static void test_EnumPrinters(void)
     ok(num == 0, "num %d\n", num);
 
     SetLastError(0xdeadbeef);
-    EnumPrintersW(PRINTER_ENUM_LOCAL, NULL, 2, NULL, 0, &neededW, &num);
+    ret = EnumPrintersW(PRINTER_ENUM_LOCAL, NULL, 2, NULL, 0, &neededW, &num);
     ok(ret == 0, "ret %d\n", ret);
     ok(GetLastError() == ERROR_INSUFFICIENT_BUFFER, "gle %d\n", GetLastError());
     ok(num == 0, "num %d\n", num);
-- 
1.4.4.2




More information about the wine-patches mailing list