| Index: fpdfsdk/cpdfsdk_widgethandler.cpp
|
| diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp
|
| index 31f0cffcc8fdd72cc91c46d39d956f78b923020e..1a9bdacf2421f0157f3496b4502b59e4670c5e85 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);
|
| }
|
|
|
|
|