]> granicus.if.org Git - neomutt/commitdiff
display +/-NCURSES_WIDECHAR when displaying ncurses version to show whether we are...
authorMichael Elkins <me@sigpipe.org>
Wed, 2 Jan 2013 23:43:38 +0000 (23:43 +0000)
committerMichael Elkins <me@sigpipe.org>
Wed, 2 Jan 2013 23:43:38 +0000 (23:43 +0000)
main.c

diff --git a/main.c b/main.c
index 1c3d0b763ea62d14387c4822702710550f5c9fa7..ce2e68e32cf657d6fb8a753e39e9cebb378bb8bc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -192,7 +192,13 @@ static void show_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) %cNCURSES_WIDECHAR", curses_version(), NCURSES_VERSION,
+#ifdef NCURSES_WIDECHAR
+                 '+'
+#else
+                 '-'
+#endif
+        );
 #elif defined(USE_SLANG_CURSES)
   printf ("\nslang: %d", SLANG_VERSION);
 #endif