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/cpdfsdk_widgethandler.cpp | |
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/cpdfsdk_widgethandler.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_widgethandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp index 31f0cffcc8..1a9bdacf24 100644 --- a/fpdfsdk/cpdfsdk_widgethandler.cpp +++ b/fpdfsdk/cpdfsdk_widgethandler.cpp @@ -238,9 +238,9 @@ void CPDFSDK_WidgetHandler::OnLoad(CPDFSDK_Annot* pAnnot) { int nFieldType = pWidget->GetFieldType(); if (nFieldType == FIELDTYPE_TEXTFIELD || nFieldType == FIELDTYPE_COMBOBOX) { - FX_BOOL bFormated = FALSE; - CFX_WideString sValue = pWidget->OnFormat(bFormated); - if (bFormated && nFieldType == FIELDTYPE_COMBOBOX) + FX_BOOL bFormatted = FALSE; + CFX_WideString sValue = pWidget->OnFormat(bFormatted); + if (bFormatted && nFieldType == FIELDTYPE_COMBOBOX) pWidget->ResetAppearance(sValue.c_str(), FALSE); } |