summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-01-30 22:06:33 +0100
committerAndreas Baumann <abaumann@yahoo.com>2011-01-30 22:06:33 +0100
commitf23bf6acb325ee5ac901e5f9719b59ebe988588d (patch)
treef8e9002a75f0f4fb101df9d20aa21b481b036e8c
parent0aa41bf5327b8ce185d4a37bd6724c0cde93a5bc (diff)
downloadtvisiontest-f23bf6acb325ee5ac901e5f9719b59ebe988588d.tar.gz
tvisiontest-f23bf6acb325ee5ac901e5f9719b59ebe988588d.tar.bz2
using more modern form run call
-rw-r--r--src/newt/test1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/newt/test1.cpp b/src/newt/test1.cpp
index cca9ba5..cbaa2ec 100644
--- a/src/newt/test1.cpp
+++ b/src/newt/test1.cpp
@@ -17,7 +17,7 @@ int main( void )
newtDrawRootText( 75, 0, "(C)2011" );
// context sensitive help text
- newtPushHelpLine( "<Tab>/<Shift-Tab> between elements" );
+ newtPushHelpLine( "<Tab>/<Shift-Tab> between elements | <Space> selects" );
// a window containing our form
newtOpenWindow( 10, 3, 60, 18, "form1" );
@@ -72,5 +72,7 @@ int main( void )
break;
}
+ newtFormDestroy( form );
+
return 0;
}