]> git.pld-linux.org Git - packages/cups.git/blame - reactivate_recommended_driver.patch
- rel 2; add ipp14 backend; fixes for ipp15 backend; other fixes - everything from...
[packages/cups.git] / reactivate_recommended_driver.patch
CommitLineData
ba7599c9
AM
1Description: CUPS removes the "(recommended)" comments of the NickNames of Foomatic PPDs when listing available PPDs. This patch removes this remocval action.
2Author: till.kamppeter@gmail.com
3
4--- cups-1.4.0~svn8773~/scheduler/cups-driverd.cxx 2009-08-23 12:16:58.000000000 +0200
5+++ cups-1.4.0~svn8773/scheduler/cups-driverd.cxx 2009-08-23 18:33:34.000000000 +0200
6@@ -211,7 +211,6 @@
7 const char *scheme) /* I - PPD scheme */
8 {
9 ppd_info_t *ppd; /* PPD */
10- char *recommended; /* Foomatic driver string */
11
12
13 /*
14@@ -250,15 +249,6 @@
15 strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme));
16
17 /*
18- * Strip confusing (and often wrong) "recommended" suffix added by
19- * Foomatic drivers...
20- */
21-
22- if ((recommended = strstr(ppd->record.make_and_model,
23- " (recommended)")) != NULL)
24- *recommended = '\0';
25-
26- /*
27 * Add the PPD to the PPD arrays...
28 */
29
This page took 0.040759 seconds and 4 git commands to generate.