timplement noredraw - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f6cb98335aa17da7a683759bc927e87486bd59c8
(DIR) parent 9614b46f79eb9728806cb322e59b9716f07e8ae0
(HTM) Author: rsc <devnull@localhost>
Date: Sat, 29 Oct 2005 17:42:00 +0000
implement noredraw
Diffstat:
M src/libframe/frdraw.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/src/libframe/frdraw.c b/src/libframe/frdraw.c
t@@ -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;
}
}