summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_fieldaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_fieldaction.h')
-rw-r--r--fpdfsdk/cpdfsdk_fieldaction.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/fpdfsdk/cpdfsdk_fieldaction.h b/fpdfsdk/cpdfsdk_fieldaction.h
index 36a57e55d2..7c24121216 100644
--- a/fpdfsdk/cpdfsdk_fieldaction.h
+++ b/fpdfsdk/cpdfsdk_fieldaction.h
@@ -21,18 +21,19 @@ typedef enum {
struct CPDFSDK_FieldAction {
CPDFSDK_FieldAction();
CPDFSDK_FieldAction(const CPDFSDK_FieldAction& other) = delete;
+ ~CPDFSDK_FieldAction();
- bool bModifier;
- bool bShift;
+ bool bModifier = false;
+ bool bShift = false;
+ bool bKeyDown = false;
+ bool bWillCommit = false;
+ bool bFieldFull = false;
+ bool bRC = true;
+ int nSelEnd = 0;
+ int nSelStart = 0;
WideString sChange;
WideString sChangeEx;
- bool bKeyDown;
- int nSelEnd;
- int nSelStart;
WideString sValue;
- bool bWillCommit;
- bool bFieldFull;
- bool bRC;
};
#endif // FPDFSDK_CPDFSDK_FIELDACTION_H_