summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/rio/wctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/rio/wctl.c b/sys/src/cmd/rio/wctl.c
index cb5acb64a..59c9246c9 100644
--- a/sys/src/cmd/rio/wctl.c
+++ b/sys/src/cmd/rio/wctl.c
@@ -93,7 +93,7 @@ goodrect(Rectangle r)
/* reasonable sizes only please */
if(Dx(r) > BIG*Dx(screen->r))
return 0;
- if(Dy(r) > BIG*Dx(screen->r))
+ if(Dy(r) > BIG*Dy(screen->r))
return 0;
if(Dx(r) < 100 || Dy(r) < 3*font->height)
return 0;