From: Pietro Cerutti Date: Fri, 30 Mar 2018 15:11:29 +0000 (+0000) Subject: Enhance neomutt -v with NCURSES_VERSION_PATCH X-Git-Tag: neomutt-20180512~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c698a3a3143a74d7ac511db3fb8715d698a85ef;p=neomutt Enhance neomutt -v with NCURSES_VERSION_PATCH --- diff --git a/version.c b/version.c index 129a3be3f..a9a72d623 100644 --- a/version.c +++ b/version.c @@ -369,7 +369,8 @@ void print_version(void) printf(" (%s)", uts.machine); #ifdef NCURSES_VERSION - printf("\nncurses: %s (compiled with %s)", curses_version(), NCURSES_VERSION); + printf("\nncurses: %s (compiled with %s.%d)", curses_version(), + NCURSES_VERSION, NCURSES_VERSION_PATCH); #elif defined(USE_SLANG_CURSES) printf("\nslang: %s", SLANG_VERSION_STRING); #endif