Detlef Riekenberg : winspoool/tests: Rename unclear string.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Dec 22 04:59:04 CST 2006
Module: wine
Branch: master
Commit: 0bb3e4f74d45ecd54f8df2243b45af8a4566bba4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0bb3e4f74d45ecd54f8df2243b45af8a4566bba4
Author: Detlef Riekenberg <wine.dev at web.de>
Date: Fri Dec 22 00:48:08 2006 +0100
winspoool/tests: Rename unclear string.
---
dlls/winspool.drv/tests/info.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/winspool.drv/tests/info.c b/dlls/winspool.drv/tests/info.c
index 433314b..94cf3d2 100644
--- a/dlls/winspool.drv/tests/info.c
+++ b/dlls/winspool.drv/tests/info.c
@@ -32,17 +32,17 @@
#define MAGIC_DEAD 0xdeadbeef
#define DEFAULT_PRINTER_SIZE 1000
-static CHAR does_not_exist_dll[]= "does_not_exists.dll";
-static CHAR does_not_exist[] = "does_not_exists";
+static CHAR does_not_exist_dll[]= "does_not_exist.dll";
+static CHAR does_not_exist[] = "does_not_exist";
static CHAR empty[] = "";
static CHAR env_x86[] = "Windows NT x86";
static CHAR env_win9x_case[] = "windowS 4.0";
static CHAR illegal_name[] = "illegal,name";
static CHAR invalid_env[] = "invalid_env";
-static CHAR invalid_server[] = "\\invalid_server";
static CHAR portname_com1[] = "COM1:";
static CHAR portname_file[] = "FILE:";
static CHAR portname_lpt1[] = "LPT1:";
+static CHAR server_does_not_exist[] = "\\does_not_exist";
static CHAR version_dll[] = "version.dll";
static CHAR winetest_monitor[] = "winetest";
@@ -1204,7 +1204,7 @@ static void test_GetPrintProcessorDirect
/* invalid on all Systems */
buffer[0] = '\0';
SetLastError(0xdeadbeef);
- res = GetPrintProcessorDirectoryA(invalid_server, NULL, 1, buffer, cbBuf*2, &pcbNeeded);
+ res = GetPrintProcessorDirectoryA(server_does_not_exist, NULL, 1, buffer, cbBuf*2, &pcbNeeded);
ok( !res && (GetLastError() == ERROR_INVALID_PARAMETER),
"returned %d with %d (expected '0' with ERROR_INVALID_PARAMETER)\n",
res, GetLastError());
More information about the wine-cvs
mailing list