]> git.ipfire.org Git - thirdparty/cups.git/commit - cups/ppd.c
cupsMarkOptions() could (incorrectly) leave multiple option choices marked.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 20 Jul 2007 21:28:10 +0000 (21:28 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Fri, 20 Jul 2007 21:28:10 +0000 (21:28 +0000)
commite66fd5e4cedfc58f3aba297ae01a859d47290b71
treec22c1d46e19603a54c3d158f44f04b4f29a078cf
parent01325b7ab9c9291bf3eb67b354b7f5156ebb3577
cupsMarkOptions() could (incorrectly) leave multiple option choices marked.

The "mirror" option wasn't handled properly.

cups/mark.c:
    - ppdConflicts(): Save and restore the current array pointers.

cups/options.c:
    - cupsMarkOptions(): Fix "mirror" option handling and add debugs.

cups/ppd.c:
    - ppd_compare_choices: Use strcmp() instead of comparing pointers.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@6703 7a7537e8-13f0-0310-91df-b6672ffda945
CHANGES.txt
cups/mark.c
cups/options.c
cups/ppd.c