1 #ifndef lint 2 static char sccsid[] = "@(#)wwredraw.c 3.7 04/24/85"; 3 #endif 4 5 /* 6 * Copyright (c) 1983 Regents of the University of California, 7 * All rights reserved. Redistribution permitted subject to 8 * the terms of the Berkeley Software License Agreement. 9 */ 10 11 #include "ww.h" 12 #include "tt.h" 13 14 wwredraw() 15 { 16 register i, j; 17 register union ww_char *os; 18 19 (*tt.tt_clear)(); 20 for (i = 0; i < wwnrow; i++) { 21 wwtouched[i] = WWU_TOUCHED; 22 os = wwos[i]; 23 for (j = wwncol; --j >= 0;) 24 (os++)->c_w = ' '; 25 } 26 } 27