Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6873f8f1
Commit
6873f8f1
authored
Oct 14, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spoolss: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0e8c4320
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
router.c
dlls/spoolss/router.c
+1
-1
spoolss_main.c
dlls/spoolss/spoolss_main.c
+1
-3
No files found.
dlls/spoolss/router.c
View file @
6873f8f1
...
@@ -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]
...
...
dlls/spoolss/spoolss_main.c
View file @
6873f8f1
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment