Re: curses library version for mutt -v
On 2007-01-29 11:41:25 -0600, Dan Nelson wrote:
> --- main.c 11 Jul 2006 23:38:30 -0000 3.36
> +++ main.c 29 Jan 2007 17:37:48 -0000
> @@ -167,7 +167,8 @@ static void show_version (void)
> printf (" (%s)", uts.machine);
>
> #ifdef NCURSES_VERSION
> - printf (" [using ncurses %s]", NCURSES_VERSION);
> + printf (" [using ncurses %s (compiled with %s)]", curses_version(),
> + NCURSES_VERSION);
> #elif defined(USE_SLANG_CURSES)
> printf (" [using slang %d]", SLANG_VERSION);
> #endif
curses_version() includes the library name (i.e. ncurses). So, you
should write in this case:
" [using %s (compiled with ncurses %s)]"
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)