summaryrefslogtreecommitdiff
path: root/libre-testing/vi/fix-tubesize-short-overflow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/vi/fix-tubesize-short-overflow.patch')
-rw-r--r--libre-testing/vi/fix-tubesize-short-overflow.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre-testing/vi/fix-tubesize-short-overflow.patch b/libre-testing/vi/fix-tubesize-short-overflow.patch
new file mode 100644
index 000000000..46cc2af28
--- /dev/null
+++ b/libre-testing/vi/fix-tubesize-short-overflow.patch
@@ -0,0 +1,12 @@
+diff -upr ex-070224.orig/ex_vis.h ex-070224/ex_vis.h
+--- ex-070224.orig/ex_vis.h 2005-08-06 14:41:15.000000000 +0300
++++ ex-070224/ex_vis.h 2015-05-02 20:41:13.938665281 +0300
+@@ -104,7 +104,7 @@ var enum {
+ */
+ var short TUBELINES;
+ var short TUBECOLS;
+-var short TUBESIZE;
++var int TUBESIZE;
+
+ /*
+ * The screen in visual and crtopen is of varying size; the basic