ncurses 6.0
[ncurses.git] / test / redraw.c
index f62c098b794d264bcc4b4e5b65499c56dfb0619a..9cb0de95a809a3e66845e559648668dacf8f51f7 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2006-2007,2010 Free Software Foundation, Inc.              *
+ * Copyright (c) 2006-2011,2012 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: redraw.c,v 1.5 2010/05/01 22:04:08 tom Exp $
+ * $Id: redraw.c,v 1.8 2012/12/08 20:46:02 tom Exp $
  *
  * Demonstrate the redrawwin() and wredrawln() functions.
  * Thomas Dickey - 2006/11/4
@@ -113,7 +113,7 @@ test_redraw(WINDOW *win)
             * using mvcur().  It is ifdef'd for NCURSES, since X/Open does
             * not define the case where the old location is unknown. 
             */
-           system("date");
+           IGNORE_RC(system("date"));
            mvcur(-1, -1, y, x);
            break;
 #endif