]> granicus.if.org Git - neomutt/commitdiff
Enhance neomutt -v with NCURSES_VERSION_PATCH
authorPietro Cerutti <gahr@gahr.ch>
Fri, 30 Mar 2018 15:11:29 +0000 (15:11 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Fri, 30 Mar 2018 15:11:29 +0000 (15:11 +0000)
version.c

index 129a3be3f19a43b29d8924d126d19982ec847568..a9a72d62367ed548724341ddc7987a488787976a 100644 (file)
--- 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