]>
Commit | Line | Data |
---|---|---|
ba7599c9 AM |
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 | |
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 |