summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffnotify.cpp
diff options
context:
space:
mode:
authorWei Li <weili@chromium.org>2016-03-18 15:43:04 -0700
committerWei Li <weili@chromium.org>2016-03-18 15:43:04 -0700
commite98ac2e5d77053201661cf0b82ecfb597fd72492 (patch)
tree084d9ada4a9f2464735a87ae6939fd591d46062c /xfa/fxfa/app/xfa_ffnotify.cpp
parent6ceb4a804e5ea07cf84c15e26df1f3390ea63378 (diff)
downloadpdfium-e98ac2e5d77053201661cf0b82ecfb597fd72492.tar.xz
Fix a typo
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1808853007 .
Diffstat (limited to 'xfa/fxfa/app/xfa_ffnotify.cpp')
-rw-r--r--xfa/fxfa/app/xfa_ffnotify.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffnotify.cpp b/xfa/fxfa/app/xfa_ffnotify.cpp
index 845f7b82b7..60fc1603aa 100644
--- a/xfa/fxfa/app/xfa_ffnotify.cpp
+++ b/xfa/fxfa/app/xfa_ffnotify.cpp
@@ -289,7 +289,7 @@ FX_BOOL CXFA_FFNotify::RunScript(CXFA_Node* pScript, CXFA_Node* pFormItem) {
FXJSE_HVALUE pRetValue = NULL;
int32_t iRet =
pWidgetAcc->ExecuteScript(CXFA_Script(pScript), &EventParam, &pRetValue);
- if (iRet == XFA_EVENTERROR_Sucess && pRetValue) {
+ if (iRet == XFA_EVENTERROR_Success && pRetValue) {
bRet = FXJSE_Value_ToBoolean(pRetValue);
FXJSE_Value_Release(pRetValue);
}