X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fdemo_terminfo.c;h=61c4076b6254d98e21b61b034345679767457f50;hb=31dcb6fc49a6814a67cdc21db26390752e743d7f;hp=8ea0edf9cde735ff922d70a53f1290d0fe47bc5f;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280;p=ncurses.git diff --git a/test/demo_terminfo.c b/test/demo_terminfo.c index 8ea0edf9..61c4076b 100644 --- a/test/demo_terminfo.c +++ b/test/demo_terminfo.c @@ -30,7 +30,7 @@ /* * Author: Thomas E. Dickey * - * $Id: demo_terminfo.c,v 1.50 2020/02/02 23:34:34 tom Exp $ + * $Id: demo_terminfo.c,v 1.51 2020/05/09 13:56:40 tom Exp $ * * A simple demo of the terminfo interface. */ @@ -842,10 +842,12 @@ main(int argc, char *argv[]) case 's': s_opt = TRUE; break; -#ifdef NCURSES_VERSION case 'x': +#ifdef NCURSES_VERSION x_opt = TRUE; +#endif break; +#ifdef NCURSES_VERSION case 'y': y_opt = TRUE; x_opt = TRUE;