summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-08-29 15:30:07 +0000
committerBram Moolenaar <Bram@vim.org>2006-08-29 15:30:07 +0000
commit89d4032cae3f1e525978bea5015434af677faa44 (patch)
tree1dd68f886ab03aed49d4e5647ee6f5296742c9e0 /src/screen.c
parent4100af7840a735cced72f1d20121850cea150a0d (diff)
downloadvim-git-89d4032cae3f1e525978bea5015434af677faa44.tar.gz
updated for version 7.0-070v7.0.070
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c
index 71aec85c0..6c6403e0b 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -7099,7 +7099,7 @@ screenalloc(clear)
tabpage_T *tp;
#endif
static int entered = FALSE; /* avoid recursiveness */
- static int did_outofmem_msg = FALSE; /* did outofmem message */
+ static int done_outofmem_msg = FALSE; /* did outofmem message */
/*
* Allocation of the screen buffers is done only when the size changes and
@@ -7207,14 +7207,14 @@ screenalloc(clear)
#endif
|| outofmem)
{
- if (ScreenLines != NULL || !did_outofmem_msg)
+ if (ScreenLines != NULL || !done_outofmem_msg)
{
/* guess the size */
do_outofmem_msg((long_u)((Rows + 1) * Columns));
/* Remember we did this to avoid getting outofmem messages over
* and over again. */
- did_outofmem_msg = TRUE;
+ done_outofmem_msg = TRUE;
}
vim_free(new_ScreenLines);
new_ScreenLines = NULL;
@@ -7242,7 +7242,7 @@ screenalloc(clear)
}
else
{
- did_outofmem_msg = FALSE;
+ done_outofmem_msg = FALSE;
for (new_row = 0; new_row < Rows; ++new_row)
{