mirror of
https://gitee.com/openharmony/third_party_cups
synced 2024-11-23 09:59:45 +00:00
rename cups_simgle_file.patch to cups_single_file.patch.
Signed-off-by: dongzhengkuan <dongzhengkuan@huawei.com>
This commit is contained in:
parent
b0356bbba7
commit
d5961f92a8
@ -1,14 +0,0 @@
|
||||
diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c
|
||||
index 786c66b..65aa200 100644
|
||||
--- a/cups/ppd-cache.c
|
||||
+++ b/cups/ppd-cache.c
|
||||
@@ -1746,7 +1746,8 @@ _ppdCacheCreateWithPPD(ppd_file_t *ppd) /* I - PPD file */
|
||||
|
||||
if ((ppd_attr = ppdFindAttr(ppd, "cupsSingleFile", NULL)) != NULL)
|
||||
pc->single_file = !_cups_strcasecmp(ppd_attr->value, "true");
|
||||
-
|
||||
+ else
|
||||
+ pc->single_file = 1;
|
||||
/*
|
||||
* Copy the product string, if any...
|
||||
*/
|
14
cups_single_file.patch
Normal file
14
cups_single_file.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c
|
||||
index 786c66b..65aa200 100644
|
||||
--- a/cups/ppd-cache.c
|
||||
+++ b/cups/ppd-cache.c
|
||||
@@ -1746,7 +1746,8 @@ _ppdCacheCreateWithPPD(ppd_file_t *ppd) /* I - PPD file */
|
||||
|
||||
if ((ppd_attr = ppdFindAttr(ppd, "cupsSingleFile", NULL)) != NULL)
|
||||
pc->single_file = !_cups_strcasecmp(ppd_attr->value, "true");
|
||||
-
|
||||
+ else
|
||||
+ pc->single_file = 1;
|
||||
/*
|
||||
* Copy the product string, if any...
|
||||
*/
|
Loading…
Reference in New Issue
Block a user