X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fdemo_terminfo.c;h=61c4076b6254d98e21b61b034345679767457f50;hb=d1cc319afccb0d472465718a748664e7cef00840;hp=6e52e990b5e8b90677a4964ab0c573ec7eb1e6ba;hpb=efa78d11c3ea7f51c7078b64a34c98b44ecb0e1a;p=ncurses.git diff --git a/test/demo_terminfo.c b/test/demo_terminfo.c index 6e52e990..61c4076b 100644 --- a/test/demo_terminfo.c +++ b/test/demo_terminfo.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2009-2017,2019 Free Software Foundation, Inc. * + * Copyright 2019,2020 Thomas E. Dickey * + * Copyright 2009-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -29,7 +30,7 @@ /* * Author: Thomas E. Dickey * - * $Id: demo_terminfo.c,v 1.49 2019/08/24 23:11:01 tom Exp $ + * $Id: demo_terminfo.c,v 1.51 2020/05/09 13:56:40 tom Exp $ * * A simple demo of the terminfo interface. */ @@ -841,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;