]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/dots_curses.c
ncurses 6.1 - patch 20180303
[ncurses.git] / test / dots_curses.c
index e8c452cfd1a97d102089c5a10417b24a6144d38b..a2025cbe655a5b16e6d5d59b47f341310dcebd71 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Author: Thomas E. Dickey
  *
- * $Id: dots_curses.c,v 1.11 2017/10/30 22:22:22 tom Exp $
+ * $Id: dots_curses.c,v 1.12 2017/11/24 19:25:28 tom Exp $
  *
  * A simple demo of the curses interface used for comparison with termcap.
  */
@@ -96,7 +96,9 @@ usage(void)
 #if HAVE_USE_DEFAULT_COLORS
        ," -d       invoke use_default_colors()"
 #endif
+#if HAVE_USE_ENV
        ," -e       allow environment $LINES / $COLUMNS"
+#endif
        ," -m SIZE  set margin (default: 2)"
        ," -s MSECS delay 1% of the time (default: 1 msecs)"
     };