Changeset
231fa2eff206 added sigwinch handling to _mutt_enter_string()
but neglected to add an ifdef check.
do
{
+#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)
if (SigWinch)
{
SigWinch = 0;
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 */
ENTER_STATE *es = mutt_new_enter_state ();
do
{
+#if defined (USE_SLANG_CURSES) || defined (HAVE_RESIZETERM)
if (SigWinch)
{
SigWinch = 0;
mutt_resize_screen ();
clearok(stdscr, TRUE);
}
+#endif
rv = _mutt_enter_string (buf, buflen, col, flags, 0, NULL, NULL, es);
}
while (rv == 1);