summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-30 17:51:51 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-30 17:51:51 +0200
commite057d40d967a8223a34fe5b56ffb00dfd06e4cd4 (patch)
tree3c14b2bf97d6bb23721a33dfba7704b5fa91f6b5 /src/proto
parent5a4d51e6929b1bb615eaf212a091384cc266b8d7 (diff)
downloadvim-e057d40d967a8223a34fe5b56ffb00dfd06e4cd4.zip
updated for version 7.3.1278
Problem: When someone sets the screen size to a huge value with "stty" Vim runs out of memory before reducing the size. Solution: Limit Rows and Columns in more places.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/term.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro
index 720d02854..25d9b96a0 100644
--- a/src/proto/term.pro
+++ b/src/proto/term.pro
@@ -26,6 +26,7 @@ void term_settitle __ARGS((char_u *title));
void ttest __ARGS((int pairs));
void add_long_to_buf __ARGS((long_u val, char_u *dst));
void check_shellsize __ARGS((void));
+void limit_screen_size __ARGS((void));
void win_new_shellsize __ARGS((void));
void shell_resized __ARGS((void));
void shell_resized_check __ARGS((void));