diff options
author | Kevin McCarthy <kevin@8t8.us> | 2017-04-15 12:56:42 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2017-04-15 12:56:42 -0700 |
commit | 27989f48f1215ec27505c3fa46530478ebd20255 (patch) | |
tree | 78fa8e85709c007cd14d6498aa0a895cd2f497eb /curs_lib.c | |
parent | 28eef9b9e3932b1b1f942d73076e90d3ed44305b (diff) |
Add ifdefs around new mutt_resize_screen calls.
Changeset 231fa2eff206 added sigwinch handling to _mutt_enter_string()
but neglected to add an ifdef check.
Diffstat (limited to 'curs_lib.c')
-rw-r--r-- | curs_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -162,6 +162,7 @@ int _mutt_get_field (const char *field, char *buf, size_t buflen, int complete, do { +#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM) if (SigWinch) { SigWinch = 0; @@ -172,6 +173,7 @@ int _mutt_get_field (const char *field, char *buf, size_t buflen, int complete, clearok(stdscr, TRUE); mutt_current_menu_redraw (); } +#endif mutt_window_clearline (MuttMessageWindow, 0); SETCOLOR (MT_COLOR_PROMPT); addstr ((char *)field); /* cast to get around bad prototypes */ |