Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
69ff2636
Commit
69ff2636
authored
Jun 15, 2012
by
Huw Davies
Committed by
Alexandre Julliard
Jun 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Set the printer location from the cups printer-location option.
parent
5875185e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
info.c
dlls/winspool.drv/info.c
+2
-1
No files found.
dlls/winspool.drv/info.c
View file @
69ff2636
...
...
@@ -867,7 +867,7 @@ static BOOL CUPS_LoadPrinters(void)
pi2
.
pPrintProcessor
=
WinPrintW
;
pi2
.
pDriverName
=
nameW
;
pi2
.
pComment
=
get_cups_option
(
"printer-info"
,
dests
[
i
].
num_options
,
dests
[
i
].
options
);
pi2
.
pLocation
=
emptyStringW
;
pi2
.
pLocation
=
get_cups_option
(
"printer-location"
,
dests
[
i
].
num_options
,
dests
[
i
].
options
)
;
pi2
.
pPortName
=
port
;
pi2
.
pParameters
=
emptyStringW
;
pi2
.
pShareName
=
emptyStringW
;
...
...
@@ -879,6 +879,7 @@ static BOOL CUPS_LoadPrinters(void)
ERR
(
"printer '%s' not added by AddPrinter (error %d)
\n
"
,
debugstr_w
(
nameW
),
GetLastError
()
);
HeapFree
(
GetProcessHeap
(),
0
,
pi2
.
pComment
);
HeapFree
(
GetProcessHeap
(),
0
,
pi2
.
pLocation
);
}
HeapFree
(
GetProcessHeap
(),
0
,
port
);
...
...
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