]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/demo_defkey.c
ncurses 6.0 - patch 20170415
[ncurses.git] / test / demo_defkey.c
index 05914718ff79a7609d74f2480895c2c9f67711ac..39b8f292dfedf23656359917d97f1ed1e266d74c 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: demo_defkey.c,v 1.26 2017/01/21 22:07:43 tom Exp $
+ * $Id: demo_defkey.c,v 1.27 2017/04/09 23:57:56 tom Exp $
  *
  * Demonstrate the define_key() function.
  * Thomas Dickey - 2002/11/23
@@ -272,7 +272,7 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
            break;
     }
     endwin();
-    ExitProgram(EXIT_FAILURE);
+    ExitProgram(EXIT_SUCCESS);
 }
 #else
 int