X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fredraw.c;h=f62c098b794d264bcc4b4e5b65499c56dfb0619a;hp=82e63783363846a40719541d6c6100bbeeac4080;hb=43f75d22e281b6230678008b72621a76696f45ba;hpb=eb312e0bb90463a33aa8a53f825b32dc189af023 diff --git a/test/redraw.c b/test/redraw.c index 82e63783..f62c098b 100644 --- a/test/redraw.c +++ b/test/redraw.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 2006,2007 Free Software Foundation, Inc. * + * Copyright (c) 2006-2007,2010 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.4 2007/06/30 17:55:06 tom Exp $ + * $Id: redraw.c,v 1.5 2010/05/01 22:04:08 tom Exp $ * * Demonstrate the redrawwin() and wredrawln() functions. * Thomas Dickey - 2006/11/4 @@ -65,6 +65,8 @@ test_redraw(WINDOW *win) int max_y, max_x; int beg_y, beg_x; + assert(win != 0); + scrollok(win, TRUE); keypad(win, TRUE); getmaxyx(win, max_y, max_x);