diff options
author | vimboss <devnull@localhost> | 2009-06-16 15:22:12 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2009-06-16 15:22:12 +0000 |
commit | f03a8d9d0965c2987c1189020c332c7a00021fcb (patch) | |
tree | 6c2587fe285d18b411e9820cc81bbab3e408de1b | |
parent | 173cd6ec6e384e1ae525c16595f77bb2cd1c5ad4 (diff) | |
download | vim-f03a8d9d0965c2987c1189020c332c7a00021fcb.tar.gz |
-rw-r--r-- | src/screen.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 451c0ee1..abe721ed 100644 --- a/src/screen.c +++ b/src/screen.c @@ -5743,6 +5743,13 @@ win_redr_status(wp) int fillchar; int attr; int this_ru_col; + static int busy = FALSE; + + /* It's possible to get here recursively when 'statusline' (indirectly) + * invokes ":redrawstatus". Simply ignore the call then. */ + if (busy) + return; + busy = TRUE; wp->w_redr_status = FALSE; if (wp->w_status_height == 0) @@ -5881,6 +5888,7 @@ win_redr_status(wp) attr); } #endif + busy = FALSE; } #ifdef FEAT_STL_OPT diff --git a/src/version.c b/src/version.c index f9ebbeaa..2ec6a6a9 100644 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 207, +/**/ 206, /**/ 205, |