| Index: fpdfsdk/cpdfsdk_widgethandler.cpp
|
| diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp
|
| index 1a9bdacf2421f0157f3496b4502b59e4670c5e85..b490daa8ba477375f2023357c8d46f3da4c03803 100644
|
| --- a/fpdfsdk/cpdfsdk_widgethandler.cpp
|
| +++ b/fpdfsdk/cpdfsdk_widgethandler.cpp
|
| @@ -241,7 +241,7 @@ void CPDFSDK_WidgetHandler::OnLoad(CPDFSDK_Annot* pAnnot) {
|
| FX_BOOL bFormatted = FALSE;
|
| CFX_WideString sValue = pWidget->OnFormat(bFormatted);
|
| if (bFormatted && nFieldType == FIELDTYPE_COMBOBOX)
|
| - pWidget->ResetAppearance(sValue.c_str(), FALSE);
|
| + pWidget->ResetAppearance(&sValue, FALSE);
|
| }
|
|
|
| #ifdef PDF_ENABLE_XFA
|
|
|