summaryrefslogtreecommitdiff
path: root/public/fpdf_formfill.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/fpdf_formfill.h')
-rw-r--r--public/fpdf_formfill.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/fpdf_formfill.h b/public/fpdf_formfill.h
index 73964b2a93..f372d84b95 100644
--- a/public/fpdf_formfill.h
+++ b/public/fpdf_formfill.h
@@ -1546,10 +1546,10 @@ FORM_ForceToKillFocus(FPDF_FORMHANDLE hHandle);
#define FPDF_FORMFIELD_XFA_TEXTFIELD 15 // XFA text field type.
#endif // PDF_ENABLE_XFA
-#ifndef PDF_ENABLE_XFA
-#define FPDF_FORMFIELD_COUNT 8
-#else
+#ifdef PDF_ENABLE_XFA
#define FPDF_FORMFIELD_COUNT 16
+#else
+#define FPDF_FORMFIELD_COUNT 8
#endif // PDF_ENABLE_XFA
#ifdef PDF_ENABLE_XFA