summaryrefslogtreecommitdiff
path: root/src/newt/test1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newt/test1.cpp')
-rw-r--r--src/newt/test1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newt/test1.cpp b/src/newt/test1.cpp
index b130a87..592303e 100644
--- a/src/newt/test1.cpp
+++ b/src/newt/test1.cpp
@@ -35,7 +35,7 @@ int main( void )
form = newtForm( NULL, NULL, 0 );
- newtFormSetTimer( form, 1000 );
+ newtFormSetTimer( form, 200 );
label1 = newtLabel( 2, 1, "First name:" );
const char *str1 = "";
@@ -55,6 +55,7 @@ int main( void )
do {
newtFormRun( form, &result );
if( result.reason == newtExitStruct::NEWT_EXIT_TIMER ) {
+ spinState++;
if( !*spinState ) spinState = spinner;
sprintf( spinBuffer, "%c", *spinState );
newtDrawRootText( -1, 0, spinBuffer );