summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 19:23:37 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 19:23:37 +0000
commitfc09858d0548cd733c5aa7e34d07c8a947154f74 (patch)
treed061aaa60326db3783e18879120378b671aebea0 /chrome/browser
parent33abcf5b83f6e9dcdfc5b1176c32b382e7812751 (diff)
downloadchromium_src-fc09858d0548cd733c5aa7e34d07c8a947154f74.zip
chromium_src-fc09858d0548cd733c5aa7e34d07c8a947154f74.tar.gz
chromium_src-fc09858d0548cd733c5aa7e34d07c8a947154f74.tar.bz2
AutoFill Credit Card matching for Diners Club incorrect
Changes matching logic for Diner's club card. BUG=50976 TEST=none Review URL: http://codereview.chromium.org/3061043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/autofill/credit_card.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/credit_card.cc b/chrome/browser/autofill/credit_card.cc
index e6e06cb..a8f2600 100644
--- a/chrome/browser/autofill/credit_card.cc
+++ b/chrome/browser/autofill/credit_card.cc
@@ -77,7 +77,7 @@ std::string GetCreditCardType(string16 number) {
break;
case 14:
- if (first_three_digits <= 300 && first_three_digits >=305)
+ if (first_three_digits >= 300 && first_three_digits <=305)
return kDinersCard;
if (first_digit == 36)