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
37b671c5
Commit
37b671c5
authored
Jan 30, 2007
by
Huw Davies
Committed by
Alexandre Julliard
Feb 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool.drv: We don't need to check for the PPD Files key before using /etc/printcap.
parent
2dd3aa62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
info.c
dlls/winspool.drv/info.c
+2
-9
No files found.
dlls/winspool.drv/info.c
View file @
37b671c5
...
...
@@ -1651,15 +1651,8 @@ void WINSPOOL_LoadSystemPrinters(void)
done
=
CUPS_LoadPrinters
();
#endif
if
(
!
done
)
{
/* If we have any CUPS based printers, skip looking for printcap printers */
/* Check for [ppd] section in config file before parsing /etc/printcap */
/* @@ Wine registry key: HKCU\Software\Wine\Printing\PPD Files */
if
(
RegOpenKeyA
(
HKEY_CURRENT_USER
,
"Software
\\
Wine
\\
Printing
\\
PPD Files"
,
&
hkey
)
==
ERROR_SUCCESS
)
{
RegCloseKey
(
hkey
);
PRINTCAP_LoadPrinters
();
}
}
if
(
!
done
)
/* If we have any CUPS based printers, skip looking for printcap printers */
PRINTCAP_LoadPrinters
();
/* Now enumerate the list again and delete any printers that a still tagged */
EnumPrintersA
(
PRINTER_ENUM_LOCAL
,
NULL
,
5
,
NULL
,
0
,
&
needed
,
&
num
);
...
...
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