Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1977)

Unified Diff: chrome/browser/printing/print_system_task_proxy.cc

Issue 8570015: Fix a typo in CUPS duplex printer detection code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_system_task_proxy.cc
===================================================================
--- chrome/browser/printing/print_system_task_proxy.cc (revision 110066)
+++ chrome/browser/printing/print_system_task_proxy.cc (working copy)
@@ -423,7 +423,7 @@
printing_internal::mark_lpoptions(printer_name, &ppd);
#endif
ppd_choice_t* duplex_choice = ppdFindMarkedChoice(ppd, kDuplex);
- if (duplex_choice) {
+ if (!duplex_choice) {
ppd_option_t* option = ppdFindOption(ppd, kDuplex);
if (option)
duplex_choice = ppdFindChoice(option, option->defchoice);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698