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