ref: e1bb660ef2d15d9f53638d60c9e15aaa8579b9bf
parent: ca58f1df1755d3fdaa61bd3b6f3457b804ece7d7
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Thu Nov 24 19:49:41 EST 2011
rio: return correct color chan after screen depth change
--- a/sys/src/cmd/rio/xfid.c
+++ b/sys/src/cmd/rio/xfid.c
@@ -817,7 +817,7 @@
caseImage:
if(off < 5*12){
n = sprint(buf, "%11s %11d %11d %11d %11d ",
- chantostr(cbuf, screen->chan),
+ chantostr(cbuf, i->chan),
i->r.min.x, i->r.min.y, i->r.max.x, i->r.max.y);
t = estrdup(buf);
goto Text;