diff options
author | rsc <devnull@localhost> | 2005-10-29 17:42:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-10-29 17:42:00 +0000 |
commit | f6cb98335aa17da7a683759bc927e87486bd59c8 (patch) | |
tree | cbf8f47a3370420f11fd48602559dc934d622db8 /src/libframe | |
parent | 9614b46f79eb9728806cb322e59b9716f07e8ae0 (diff) | |
download | plan9port-f6cb98335aa17da7a683759bc927e87486bd59c8.tar.gz plan9port-f6cb98335aa17da7a683759bc927e87486bd59c8.tar.bz2 plan9port-f6cb98335aa17da7a683759bc927e87486bd59c8.zip |
implement noredraw
Diffstat (limited to 'src/libframe')
-rw-r--r-- | src/libframe/frdraw.c | 3 |
1 files changed, 1 insertions, 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; 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; } } |