From f6cb98335aa17da7a683759bc927e87486bd59c8 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 29 Oct 2005 17:42:00 +0000 Subject: implement noredraw --- src/libframe/frdraw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libframe/frdraw.c b/src/libframe/frdraw.c index 134d224a..8f238c1f 100644 --- a/src/libframe/frdraw.c +++ b/src/libframe/frdraw.c @@ -13,9 +13,8 @@ _frredraw(Frame *f, Point pt) for(nb=0,b=f->box; nbnbox; nb++, b++){ _frcklinewrap(f, &pt, b); - if(b->nrune >= 0){ + if(!f->noredraw && b->nrune >= 0) string(f->b, pt, f->cols[TEXT], ZP, f->font, (char *)b->ptr); - } pt.x += b->wid; } } -- cgit v1.2.3