X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=curs_lib.c;h=165c4fd2181e0d5fcd576bb4a7c531fd3209f415;hp=443f510d6192fe76fe08c8a16b25928290f6a516;hb=daf6df95bfcc7efc888b488a825e467268f20d3c;hpb=efe9a0bac26a7dabf3953ea0597ce06b3dcb21fe diff --git a/curs_lib.c b/curs_lib.c index 443f510..165c4fd 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -264,7 +264,7 @@ void mutt_query_exit (void) curs_set (1); if (Timeout) timeout (-1); /* restore blocking operation */ - if (mutt_yesorno (_("Exit Mutt-ng?"), M_YES) == M_YES) { + if (mutt_yesorno (_("Exit Madmutt?"), M_YES) == M_YES) { mutt_endwin (NULL); exit (1); } @@ -299,7 +299,6 @@ void mutt_curses_error (const char *fmt, ...) set_option (OPTMSGERR); } -#ifdef USE_SOCKET void mutt_progress_bar (progress_t* progress, long pos) { char posstr[SHORT_STRING]; @@ -327,7 +326,6 @@ void mutt_progress_bar (progress_t* progress, long pos) { mutt_message ("%s %s", progress->msg, posstr); } } -#endif void mutt_curses_message (const char *fmt, ...) { @@ -583,10 +581,10 @@ int mutt_addwch (wchar_t wc) * when printed. */ -void mutt_format_string (char *dest, size_t destlen, - unsigned int min_width, int max_width, +void mutt_format_string (char *dest, ssize_t destlen, + int min_width, int max_width, int right_justify, char m_pad_char, - const char *s, size_t n, int arboreal) + const char *s, ssize_t n, int arboreal) { char *p; wchar_t wc;