Commit 6873f8f1 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

spoolss: Use wide-char string literals.

parent 0e8c4320
...@@ -151,7 +151,7 @@ static CRITICAL_SECTION backend_cs = { &backend_cs_debug, -1, 0, 0, 0, 0 }; ...@@ -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); ...@@ -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) ...@@ -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");
......
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