summaryrefslogtreecommitdiff
path: root/lib/libcurses++/demo.cc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-01-22 18:02:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-01-22 18:02:21 +0000
commit7fe795010750d2e2889d7085abeaa1ee0926c69b (patch)
treeb52138c43e052b09287afed0fb6351cd31249bda /lib/libcurses++/demo.cc
parent85db479b2362c15a2266e01737d835e86cda1b1e (diff)
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libcurses++/demo.cc')
-rw-r--r--lib/libcurses++/demo.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libcurses++/demo.cc b/lib/libcurses++/demo.cc
index cbd91a85e18..f08cbe9a874 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.18 1999/09/11 18:57:54 tom Exp $
+ * $From: demo.cc,v 1.19 2000/12/09 23:46:12 tom Exp $
*/
#include "cursesapp.h"
@@ -446,4 +446,12 @@ int TestApplication::run() {
//
// -------------------------------------------------------------------------
//
-static TestApplication Demo;
+// static TestApplication Demo;
+
+int main()
+{
+ TestApplication * Demo = new TestApplication();
+ Demo->run();
+ return 0;
+}
+