75c9d2134e
OBS-URL: https://build.opensuse.org/package/show/Printing/cups?expand=0&rev=018c50e08ef5ce023c87a657e330f3ef
27 lines
773 B
Diff
27 lines
773 B
Diff
--- scheduler/cups-driverd.cxx.orig 2009-06-09 00:00:14.000000000 +0200
|
|
+++ scheduler/cups-driverd.cxx 2009-07-01 14:38:44.000000000 +0200
|
|
@@ -211,7 +211,6 @@ add_ppd(const char *filename, /* I - PP
|
|
const char *scheme) /* I - PPD scheme */
|
|
{
|
|
ppd_info_t *ppd; /* PPD */
|
|
- char *recommended; /* Foomatic driver string */
|
|
|
|
|
|
/*
|
|
@@ -250,15 +249,6 @@ add_ppd(const char *filename, /* I - PP
|
|
strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme));
|
|
|
|
/*
|
|
- * Strip confusing (and often wrong) "recommended" suffix added by
|
|
- * Foomatic drivers...
|
|
- */
|
|
-
|
|
- if ((recommended = strstr(ppd->record.make_and_model,
|
|
- " (recommended)")) != NULL)
|
|
- *recommended = '\0';
|
|
-
|
|
- /*
|
|
* Add the PPD to the PPD arrays...
|
|
*/
|
|
|