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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_models.cc

Issue 13607006: rAc: don't clobber user input when accepting autofill popup suggestion (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a couple more bugs Created 7 years, 8 months 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
Index: chrome/browser/ui/autofill/autofill_dialog_models.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_models.cc b/chrome/browser/ui/autofill/autofill_dialog_models.cc
index 78d7d35aa792fe7427dd444487c760d40e2b0436..e9beee5814b06438cefb26ca46a37342e5659adf 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_models.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_models.cc
@@ -195,7 +195,7 @@ int MonthComboboxModel::GetItemCount() const {
// static
string16 MonthComboboxModel::FormatMonth(int index) {
- return ASCIIToUTF16(base::StringPrintf("%2d", index));
+ return ASCIIToUTF16(base::StringPrintf("%.2d", index));
Evan Stade 2013/04/05 23:24:01 isherman: NB
}
string16 MonthComboboxModel::GetItemAt(int index) {

Powered by Google App Engine
This is Rietveld 408576698