Mercurial > vim
changeset 1910:1287e2bbeb40 v7.2.207
updated for version 7.2-207
author | vimboss |
---|---|
date | Tue, 16 Jun 2009 15:22:12 +0000 |
parents | 9edc96495747 |
children | afbe4a4c884c |
files | src/screen.c src/version.c |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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