]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_getstr.c
ncurses 5.7 - patch 20090905
[ncurses.git] / test / test_getstr.c
index 25dbecf74136326c34e83f4efad96fc6cf91fe09..a0863937886be88ce551cdaa10b94e6c3a72806c 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 2007,2008 Free Software Foundation, Inc.                   *
+ * Copyright (c) 2007-2008,2009 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: test_getstr.c,v 1.8 2008/02/09 18:09:35 tom Exp $
+ * $Id: test_getstr.c,v 1.9 2009/08/29 19:02:25 tom Exp $
  *
  * Author: Thomas E Dickey
  *
@@ -271,7 +271,7 @@ test_getstr(int level, char **argv, WINDOW *strwin)
            *buffer = '\0';
            rc = ERR;
            echo();
-           wattrset(txtwin, A_REVERSE);
+           (void) wattrset(txtwin, A_REVERSE);
            switch (flavor) {
            case eGetStr:
                if (txtwin != stdscr) {
@@ -309,7 +309,7 @@ test_getstr(int level, char **argv, WINDOW *strwin)
                break;
            }
            noecho();
-           wattrset(txtwin, A_NORMAL);
+           (void) wattrset(txtwin, A_NORMAL);
            wprintw(strwin, "%d:%s", rc, buffer);
            wnoutrefresh(strwin);
            break;