diff options
author | stanley lieber <stanley.lieber@gmail.com> | 2011-04-30 18:03:18 +0000 |
---|---|---|
committer | stanley lieber <stanley.lieber@gmail.com> | 2011-04-30 18:03:18 +0000 |
commit | 8f7cdfa5e27bf4c086657f505a8a91725915bb82 (patch) | |
tree | cd17e6a2a06908cf0848b420f74b2b90d24d9bb5 | |
parent | d78b83bdfc3162b7746e9456bb74ad57c0451385 (diff) | |
download | plan9front-8f7cdfa5e27bf4c086657f505a8a91725915bb82.tar.xz |
libframe: derive attributes of cursor from rio instead of hardcoding them.
-rw-r--r-- | sys/src/libframe/frinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/libframe/frinit.c b/sys/src/libframe/frinit.c index e0dc41a03..f80877518 100644 --- a/sys/src/libframe/frinit.c +++ b/sys/src/libframe/frinit.c @@ -50,7 +50,7 @@ frinittick(Frame *f) /* background color */ draw(f->tick, f->tick->r, f->cols[BACK], nil, ZP); /* vertical line */ - draw(f->tick, Rect(FRTICKW/2, 0, FRTICKW/2+1, ft->height), f->display->black, nil, ZP); + draw(f->tick, Rect(FRTICKW/2, 0, FRTICKW/2+1, ft->height), f->cols[TEXT], nil, ZP); /* box on each end */ draw(f->tick, Rect(0, 0, FRTICKW, FRTICKW), f->cols[TEXT], nil, ZP); draw(f->tick, Rect(0, ft->height-FRTICKW, FRTICKW, ft->height), f->cols[TEXT], nil, ZP); |