X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-ui%2Flayout.c;h=7b46036b64c882c01a8e7bef4c0ad301e8b77512;hb=eab27dfc9eb0f7b21b560f37ec28f48cfbfa9f40;hp=bb7abc338d40e847480777b23797c54eaa29ec16;hpb=5dcac54e5db074dc4572f843666c7f7acaf2d109;p=apps%2Fmadmutt.git diff --git a/lib-ui/layout.c b/lib-ui/layout.c index bb7abc3..7b46036 100644 --- a/lib-ui/layout.c +++ b/lib-ui/layout.c @@ -41,15 +41,16 @@ void mutt_need_hard_redraw(void) void mutt_refresh(void) { + /* FIXME: UGGLY */ + extern ssize_t UngetCount; + /* don't refresh when we are waiting for a child. */ if (option(OPTKEEPQUIET)) return; -#if 0 /* MC: WHY ? */ /* don't refresh in the middle of macros unless necessary */ if (UngetCount && !option(OPTFORCEREFRESH)) return; -#endif /* else */ wrefresh(stdscr);