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:
Michael Stefaniuc 2020-10-14 23:22:00 +02:00 committed by Alexandre Julliard
parent 0e8c432051
commit 6873f8f1d0
2 changed files with 2 additions and 4 deletions

View File

@ -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]

View File

@ -38,8 +38,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
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);
hwinspool = LoadLibraryW(winspooldrvW);
hwinspool = LoadLibraryW(L"winspool.drv");
if (!hwinspool) return FALSE;
table[0] = (void *) GetProcAddress(hwinspool, "OpenPrinterW");