Fix spelling of "Truncate" in cfde_texteditengine.cpp
Per new warning from pdfium_analysis step.
Change-Id: I03eb4713fb6b538608aec8bae93c956dc3adac69
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/78690
Auto-Submit: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Hui Yingst <nigi@chromium.org>
Reviewed-by: Hui Yingst <nigi@chromium.org>
diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp
index 5c02c26..d070870 100644
--- a/xfa/fde/cfde_texteditengine.cpp
+++ b/xfa/fde/cfde_texteditengine.cpp
@@ -301,7 +301,7 @@
// Raise the limit to allow subsequent changes to expanded text.
character_limit_ = text_length_ + length;
} else {
- // Trucate the text to comply with the limit.
+ // Truncate the text to comply with the limit.
CHECK(text_length_ <= character_limit_);
length = character_limit_ - text_length_;
exceeded_limit = true;