Index: fpdfsdk/fpdfformfill.cpp |
diff --git a/fpdfsdk/fpdfformfill.cpp b/fpdfsdk/fpdfformfill.cpp |
index de43273f0945473977067bccd7621a853e072206..34e206d6bc67eaa6a0cebfc0b3cecf3cff99f737 100644 |
--- a/fpdfsdk/fpdfformfill.cpp |
+++ b/fpdfsdk/fpdfformfill.cpp |
@@ -246,9 +246,9 @@ FPDFDOC_InitFormFillEnvironment(FPDF_DOCUMENT document, |
return nullptr; |
#ifdef PDF_ENABLE_XFA |
- // If the CPDFXFA_Document has a SDKDocument already then we've done this |
- // and can just return the old Env. Otherwise, we'll end up setting a new |
- // SDKDocument into the XFADocument and, that could get weird. |
+ // If the CPDFXFA_Document has a FormFillEnvironment already then we've done |
+ // this and can just return the old Env. Otherwise, we'll end up setting a new |
+ // environment into the XFADocument and, that could get weird. |
if (pDocument->GetFormFillEnv()) |
return pDocument->GetFormFillEnv(); |
#endif |