projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 5.9 - patch 20130608
[ncurses.git]
/
test
/
ins_wide.c
diff --git
a/test/ins_wide.c
b/test/ins_wide.c
index 6e4e7275cdf6723f75db63e865f32a86640c19a8..a168dc112fcb52c73b9b3108abc920f442707505 100644
(file)
--- a/
test/ins_wide.c
+++ b/
test/ins_wide.c
@@
-26,7
+26,7
@@
* authorization. *
****************************************************************************/
/*
* authorization. *
****************************************************************************/
/*
- * $Id: ins_wide.c,v 1.
19 2012/12/09 01:13:56
tom Exp $
+ * $Id: ins_wide.c,v 1.
20 2012/12/16 00:51:02
tom Exp $
*
* Demonstrate the wins_wstr() and wins_wch functions.
* Thomas Dickey - 2002/11/23
*
* Demonstrate the wins_wstr() and wins_wch functions.
* Thomas Dickey - 2002/11/23
@@
-294,11
+294,13
@@
test_inserts(int level)
case key_RECUR:
test_inserts(level + 1);
case key_RECUR:
test_inserts(level + 1);
- touchwin(look);
+ if (look)
+ touchwin(look);
touchwin(work);
touchwin(show);
touchwin(work);
touchwin(show);
- wnoutrefresh(look);
+ if (look)
+ wnoutrefresh(look);
wnoutrefresh(work);
wnoutrefresh(show);
wnoutrefresh(work);
wnoutrefresh(show);