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
182a8d88
Commit
182a8d88
authored
Aug 25, 2021
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool.drv: Fix ASCII / ANSI mixups in comments and TRACE() messages.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ba7ca2d8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
info.c
dlls/winspool.drv/info.c
+4
-4
No files found.
dlls/winspool.drv/info.c
View file @
182a8d88
...
@@ -4047,7 +4047,7 @@ BOOL WINAPI ResetPrinterW(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault)
...
@@ -4047,7 +4047,7 @@ BOOL WINAPI ResetPrinterW(HANDLE hPrinter, LPPRINTER_DEFAULTSW pDefault)
* Get ValueName from hkey storing result in out
* Get ValueName from hkey storing result in out
* when the Value in the registry has only a filename, use driverdir as prefix
* when the Value in the registry has only a filename, use driverdir as prefix
* outlen is space left in out
* outlen is space left in out
* String is stored either as unicode or a
sci
i
* String is stored either as unicode or a
ns
i
*
*
*/
*/
...
@@ -4180,7 +4180,7 @@ static void WINSPOOL_GetDefaultDevMode(LPBYTE ptr, DWORD buflen, DWORD *needed)
...
@@ -4180,7 +4180,7 @@ static void WINSPOOL_GetDefaultDevMode(LPBYTE ptr, DWORD buflen, DWORD *needed)
* WINSPOOL_GetDevModeFromReg
* WINSPOOL_GetDevModeFromReg
*
*
* Get ValueName from hkey storing result in ptr. buflen is space left in ptr
* Get ValueName from hkey storing result in ptr. buflen is space left in ptr
* DevMode is stored either as unicode or a
sci
i.
* DevMode is stored either as unicode or a
ns
i.
*/
*/
static
BOOL
WINSPOOL_GetDevModeFromReg
(
HKEY
hkey
,
LPCWSTR
ValueName
,
static
BOOL
WINSPOOL_GetDevModeFromReg
(
HKEY
hkey
,
LPCWSTR
ValueName
,
LPBYTE
ptr
,
LPBYTE
ptr
,
...
@@ -6770,7 +6770,7 @@ DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName,
...
@@ -6770,7 +6770,7 @@ DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName,
memcpy
(
ppev
->
pValueName
,
pBuffer
,
len
);
memcpy
(
ppev
->
pValueName
,
pBuffer
,
len
);
TRACE
(
"Converted '%s' from Unicode to A
SCI
I
\n
"
,
pBuffer
);
TRACE
(
"Converted '%s' from Unicode to A
NS
I
\n
"
,
pBuffer
);
if
(
ppev
->
dwType
!=
REG_SZ
&&
ppev
->
dwType
!=
REG_EXPAND_SZ
&&
if
(
ppev
->
dwType
!=
REG_SZ
&&
ppev
->
dwType
!=
REG_EXPAND_SZ
&&
ppev
->
dwType
!=
REG_MULTI_SZ
)
ppev
->
dwType
!=
REG_MULTI_SZ
)
...
@@ -6789,7 +6789,7 @@ DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName,
...
@@ -6789,7 +6789,7 @@ DWORD WINAPI EnumPrinterDataExA(HANDLE hPrinter, LPCSTR pKeyName,
memcpy
(
ppev
->
pData
,
pBuffer
,
len
);
memcpy
(
ppev
->
pData
,
pBuffer
,
len
);
TRACE
(
"Converted '%s' from Unicode to A
SCI
I
\n
"
,
pBuffer
);
TRACE
(
"Converted '%s' from Unicode to A
NS
I
\n
"
,
pBuffer
);
TRACE
(
" (only first string of REG_MULTI_SZ printed)
\n
"
);
TRACE
(
" (only first string of REG_MULTI_SZ printed)
\n
"
);
}
}
...
...
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