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...
|
||
|
*/
|
||
|
|