summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widgethandler.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-09-07 15:29:11 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-07 15:29:11 -0700
commit8c2a8cda1bdb9f57513af5a21a5d0ce32614e52b (patch)
tree46e47faf042784025bc584b5f138b75127adf3be /fpdfsdk/cpdfsdk_widgethandler.cpp
parent7b68f616e49235267eeac8db51aadade6d60e243 (diff)
downloadpdfium-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.cpp6
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);
}