summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/pdfwindow')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
index 357b552330..726218989a 100644
--- a/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
+++ b/fpdfsdk/pdfwindow/cpwl_edit_ctrl.cpp
@@ -54,7 +54,7 @@ void CPWL_EditCtrl::SetCursor() {
CFX_WideString CPWL_EditCtrl::GetSelectedText() {
if (m_pEdit)
- return m_pEdit->GetSelText();
+ return m_pEdit->GetSelectedText();
return CFX_WideString();
}