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
69ea31ff
Commit
69ea31ff
authored
Feb 11, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Feb 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Remove unnecessary call to RtlInitUnicodeString from add_printer_driver.
parent
b4b6c3af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
info.c
dlls/winspool.drv/info.c
+0
-1
No files found.
dlls/winspool.drv/info.c
View file @
69ea31ff
...
@@ -642,7 +642,6 @@ static BOOL add_printer_driver( const WCHAR *name, const WCHAR *ppd_dir )
...
@@ -642,7 +642,6 @@ static BOOL add_printer_driver( const WCHAR *name, const WCHAR *ppd_dir )
WCHAR
raw
[]
=
L"RAW"
,
driver_nt
[]
=
L"wineps.drv"
;
WCHAR
raw
[]
=
L"RAW"
,
driver_nt
[]
=
L"wineps.drv"
;
if
(
!
ppd
)
return
FALSE
;
if
(
!
ppd
)
return
FALSE
;
RtlInitUnicodeString
(
&
nt_ppd
,
NULL
);
if
(
!
RtlDosPathNameToNtPathName_U
(
ppd
,
&
nt_ppd
,
NULL
,
NULL
))
goto
end
;
if
(
!
RtlDosPathNameToNtPathName_U
(
ppd
,
&
nt_ppd
,
NULL
,
NULL
))
goto
end
;
ppd_params
.
printer
=
name
;
ppd_params
.
printer
=
name
;
...
...
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