summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_widget.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/cpdfsdk_widget.cpp b/fpdfsdk/cpdfsdk_widget.cpp
index d0eaa7adc8..1496beeb8e 100644
--- a/fpdfsdk/cpdfsdk_widget.cpp
+++ b/fpdfsdk/cpdfsdk_widget.cpp
@@ -240,7 +240,7 @@ bool CPDFSDK_Widget::OnXFAAAction(PDFSDK_XFAAActionType eXFAAAT,
CXFA_EventParam param;
param.m_eType = eEventType;
param.m_wsChange = data->sChange;
- param.m_iCommitKey = data->nCommitKey;
+ param.m_iCommitKey = 0;
param.m_bShift = data->bShift;
param.m_iSelStart = data->nSelStart;
param.m_iSelEnd = data->nSelEnd;
@@ -845,7 +845,7 @@ bool CPDFSDK_Widget::OnAAction(CPDF_AAction::AActionType type,
CXFA_EventParam param;
param.m_eType = eEventType;
param.m_wsChange = data->sChange;
- param.m_iCommitKey = data->nCommitKey;
+ param.m_iCommitKey = 0;
param.m_bShift = data->bShift;
param.m_iSelStart = data->nSelStart;
param.m_iSelEnd = data->nSelEnd;