patch 8.2.3492: crash when pasting too many times
Problem: Crash when pasting too many times.
Solution: Limit the size to what fits in an int. (closes #8962)
diff --git a/src/errors.h b/src/errors.h
index a8ea33d..4cc50e4 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -664,3 +664,5 @@
INIT(= N_("E1238: Blob required for argument %d"));
EXTERN char e_invalid_value_for_blob_nr[]
INIT(= N_("E1239: Invalid value for blob: %d"));
+EXTERN char e_resulting_text_too_long[]
+ INIT(= N_("E1240: Resulting text too long"));