plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit f6cb98335aa17da7a683759bc927e87486bd59c8
parent 9614b46f79eb9728806cb322e59b9716f07e8ae0
Author: rsc <devnull@localhost>
Date:   Sat, 29 Oct 2005 17:42:00 +0000

implement noredraw

Diffstat:
Msrc/libframe/frdraw.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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; nb<f->nbox; 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; } }