summaryrefslogtreecommitdiff
path: root/sys/src/cmd/rio/wind.c
diff options
context:
space:
mode:
authorstanley lieber <stanley.lieber@gmail.com>2013-04-30 21:03:12 -0400
committerstanley lieber <stanley.lieber@gmail.com>2013-04-30 21:03:12 -0400
commitb94a33e01cb7d4e587567c6dc0ac5e0daf793c82 (patch)
treee9d87e77fab80ee290aa7365d1c0bf81399574ba /sys/src/cmd/rio/wind.c
parent694de270c7eb9221a21b0b2d3daff7e1a635e687 (diff)
rio: fix highlight text for -b
Diffstat (limited to 'sys/src/cmd/rio/wind.c')
-rw-r--r--sys/src/cmd/rio/wind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/cmd/rio/wind.c b/sys/src/cmd/rio/wind.c
index 49bb30da3..8752090c7 100644
--- a/sys/src/cmd/rio/wind.c
+++ b/sys/src/cmd/rio/wind.c
@@ -716,14 +716,14 @@ wsetcols(Window *w, int topped)
{
if(w->holding)
if(topped)
- w->cols[TEXT] = w->cols[HTEXT] = holdcol;
+ w->cols[TEXT] = holdcol;
else
- w->cols[TEXT] = w->cols[HTEXT] = lightholdcol;
+ w->cols[TEXT] = lightholdcol;
else
if(topped)
- w->cols[TEXT] = w->cols[HTEXT] = cols[TEXT];
+ w->cols[TEXT] = cols[TEXT];
else
- w->cols[TEXT] = w->cols[HTEXT] = paletextcol;
+ w->cols[TEXT] = paletextcol;
}
void