spoolss: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0e8c432051
commit
6873f8f1d0
|
@ -151,7 +151,7 @@ static CRITICAL_SECTION backend_cs = { &backend_cs_debug, -1, 0, 0, 0, 0 };
|
||||||
|
|
||||||
/* ################################ */
|
/* ################################ */
|
||||||
|
|
||||||
static WCHAR localsplW[] = {'l','o','c','a','l','s','p','l','.','d','l','l',0};
|
static WCHAR localsplW[] = L"localspl.dll";
|
||||||
|
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* strdupW [internal]
|
* strdupW [internal]
|
||||||
|
|
|
@ -38,8 +38,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
|
||||||
|
|
||||||
static HMODULE hwinspool;
|
static HMODULE hwinspool;
|
||||||
|
|
||||||
static const WCHAR winspooldrvW[] = {'w','i','n','s','p','o','o','l','.','d','r','v',0};
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -232,7 +230,7 @@ BOOL WINAPI SplInitializeWinSpoolDrv(LPVOID * table)
|
||||||
|
|
||||||
TRACE("(%p)\n", table);
|
TRACE("(%p)\n", table);
|
||||||
|
|
||||||
hwinspool = LoadLibraryW(winspooldrvW);
|
hwinspool = LoadLibraryW(L"winspool.drv");
|
||||||
if (!hwinspool) return FALSE;
|
if (!hwinspool) return FALSE;
|
||||||
|
|
||||||
table[0] = (void *) GetProcAddress(hwinspool, "OpenPrinterW");
|
table[0] = (void *) GetProcAddress(hwinspool, "OpenPrinterW");
|
||||||
|
|
Loading…
Reference in New Issue