]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_addchstr.c
ncurses 5.9 - patch 20121208
[ncurses.git] / test / test_addchstr.c
index cc3dc4978cc172efb6ac22ac5a69bc866954a270..abb4380a31c83207ff54211d35bc44dadcec5dc7 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: test_addchstr.c,v 1.16 2012/11/24 19:51:05 tom Exp $
+ * $Id: test_addchstr.c,v 1.17 2012/12/09 00:50:39 tom Exp $
  *
  * Demonstrate the waddchstr() and waddch functions.
  * Thomas Dickey - 2009/9/12
@@ -450,10 +450,10 @@ test_adds(int level)
        }
     }
     if (level > 0) {
-       delwin(show);
        delwin(work);
        delwin(look);
     }
+    delwin(show);
 }
 
 static void