diff options
Diffstat (limited to 'lib/libcurses++/demo.cc')
-rw-r--r-- | lib/libcurses++/demo.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/libcurses++/demo.cc b/lib/libcurses++/demo.cc index f08cbe9a874..d09b718b0a8 100644 --- a/lib/libcurses++/demo.cc +++ b/lib/libcurses++/demo.cc @@ -6,7 +6,7 @@ * Demo code for NCursesMenu and NCursesForm written by * Juergen Pfeifer <juergen.pfeifer@gmx.net> * - * $From: demo.cc,v 1.19 2000/12/09 23:46:12 tom Exp $ + * $From: demo.cc,v 1.20 2001/01/28 02:26:27 tom Exp $ */ #include "cursesapp.h" @@ -446,12 +446,4 @@ int TestApplication::run() { // // ------------------------------------------------------------------------- // -// static TestApplication Demo; - -int main() -{ - TestApplication * Demo = new TestApplication(); - Demo->run(); - return 0; -} - +static TestApplication Demo; |