X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_lib.c;h=32b94923971e4691e8d482b1e45516f2b5fed80e;hp=9c0567a0bb5af2436c5ab167c7e2094fb49e9774;hb=f404a0ca916be07049af51a3022baaaaab94def6;hpb=3d937534e7b1ee723f86594b5e4c64c95158a933 diff --git a/curs_lib.c b/curs_lib.c index 9c0567a..32b9492 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -17,6 +17,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "mutt.h" #include "mutt_menu.h" #include "mutt_curses.h" @@ -134,29 +138,6 @@ int _mutt_get_field (/* const */ char *field, char *buf, size_t buflen, int comp return (ret); } -int _mutt_get_field_att (/* const */ char *field, char *buf, size_t buflen, int complete, int multiple, char ***files, int *numfiles) -{ - int ret; - int x, y; - - ENTER_STATE *es = mutt_new_enter_state(); - - do - { - CLEARLINE (LINES-1); - addstr (field); - mutt_refresh (); - getyx (stdscr, y, x); - ret = _mutt_enter_string_att (buf, buflen, y, x, complete, multiple, files, numfiles, es); - } - while (ret == 1); - CLEARLINE (LINES-1); - mutt_free_enter_state (&es); - - return (ret); -} - - int mutt_get_password (char *msg, char *buf, size_t buflen) { int rc;