[prev in list] [next in list] [prev in thread] [next in thread]
List: cups-bugs
Subject: Re: [cups.bugs] [MOD] STR #3642: ppdMarkDefaults does not clear the
From: Michael Sweet <msweet () apple ! com>
Date: 2010-08-31 15:38:52
Message-ID: 20100831153853.1EF5A3C6845A () dns ! easysw ! com
[Download RAW message or body]
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Closed w/Resolution]
Fixed in Subversion repository.
Link: http://www.cups.org/str.php?L3642
Version: 1.4.4
Fix Version: 1.5-current (r9281)
["str3642.patch" (text/plain)]
Index: cups/mark.c
===================================================================
--- cups/mark.c (revision 9277)
+++ cups/mark.c (working copy)
@@ -461,7 +461,10 @@
for (c = (ppd_choice_t *)cupsArrayFirst(ppd->marked);
c;
c = (ppd_choice_t *)cupsArrayNext(ppd->marked))
+ {
cupsArrayRemove(ppd->marked, c);
+ c->marked = 0;
+ }
/*
* Then repopulate it with the defaults...
_______________________________________________
cups-bugs mailing list
cups-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic