diff options
Diffstat (limited to 'contrib/ncurses/c++/demo.cc')
-rw-r--r-- | contrib/ncurses/c++/demo.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ncurses/c++/demo.cc b/contrib/ncurses/c++/demo.cc index 6ac4650..088dc2f 100644 --- a/contrib/ncurses/c++/demo.cc +++ b/contrib/ncurses/c++/demo.cc @@ -6,7 +6,7 @@ * Demo code for NCursesMenu and NCursesForm written by * Juergen Pfeifer <juergen.pfeifer@gmx.net> * - * $Id: demo.cc,v 1.17 1999/07/31 09:47:17 juergen Exp $ + * $Id: demo.cc,v 1.18 1999/09/11 18:57:54 tom Exp $ */ #include "cursesapp.h" @@ -333,7 +333,7 @@ private: NCursesPanel* P; NCursesMenuItem** I; UserData *u; - static const int n_items = 7; + #define n_items 7 public: MyMenu () |