diff options
author | tsepez <tsepez@chromium.org> | 2016-09-07 15:29:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-07 15:29:11 -0700 |
commit | 8c2a8cda1bdb9f57513af5a21a5d0ce32614e52b (patch) | |
tree | 46e47faf042784025bc584b5f138b75127adf3be /fpdfsdk/javascript | |
parent | 7b68f616e49235267eeac8db51aadade6d60e243 (diff) | |
download | pdfium-8c2a8cda1bdb9f57513af5a21a5d0ce32614e52b.tar.xz |
Fix spelling of "Formated" in several variableschromium/2854
Review-Url: https://codereview.chromium.org/2318423002
Diffstat (limited to 'fpdfsdk/javascript')
-rw-r--r-- | fpdfsdk/javascript/Field.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/javascript/Field.cpp b/fpdfsdk/javascript/Field.cpp index 1f49482375..a788fb203b 100644 --- a/fpdfsdk/javascript/Field.cpp +++ b/fpdfsdk/javascript/Field.cpp @@ -317,9 +317,9 @@ void Field::UpdateFormControl(CPDFSDK_Document* pDocument, int nFieldType = pWidget->GetFieldType(); if (nFieldType == FIELDTYPE_COMBOBOX || nFieldType == FIELDTYPE_TEXTFIELD) { - FX_BOOL bFormated = FALSE; - CFX_WideString sValue = pWidget->OnFormat(bFormated); - if (bFormated) + FX_BOOL bFormatted = FALSE; + CFX_WideString sValue = pWidget->OnFormat(bFormatted); + if (bFormatted) pWidget->ResetAppearance(sValue.c_str(), FALSE); else pWidget->ResetAppearance(nullptr, FALSE); |