summaryrefslogtreecommitdiff
path: root/src/ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.c b/src/ansi.c
index d15867b..f9e0cc8 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -322,7 +322,7 @@ register int len;
curr->w_monitor = MON_FOUND;
}
- if (cols && rows)
+ if (cols > 0 && rows > 0)
{
do
{