1 Description: CUPS removes the "(recommended)" comments of the NickNames of Foomatic PPDs when listing available PPDs. This patch removes this remocval action.
2 Author: till.kamppeter@gmail.com
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
7 const char *scheme) /* I - PPD scheme */
9 ppd_info_t *ppd; /* PPD */
10 - char *recommended; /* Foomatic driver string */
15 strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme));
18 - * Strip confusing (and often wrong) "recommended" suffix added by
19 - * Foomatic drivers...
22 - if ((recommended = strstr(ppd->record.make_and_model,
23 - " (recommended)")) != NULL)
24 - *recommended = '\0';
27 * Add the PPD to the PPD arrays...