aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2019-01-04 23:34:08 +0100
committerBoris Faure <billiob@gmail.com>2019-01-04 23:34:08 +0100
commit6952836a32270828b33c07cdaf1658949f3c2693 (patch)
tree214bebca4af5a1a0491115d4e000916a70cc4ed6
parenttermptyops: ensure clearing cells do not increase link count (diff)
downloadterminology-6952836a32270828b33c07cdaf1658949f3c2693.tar.gz
termio: allow 1 line or 1 column windows. Closes https://phab.enlightenment.org/T7532
-rw-r--r--src/bin/termio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index f749ece..3ccb6cf 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -5404,7 +5404,7 @@ _smart_size(Evas_Object *obj, int w, int h, Eina_Bool force)
Termio *sd = evas_object_smart_data_get(obj);
EINA_SAFETY_ON_NULL_RETURN(sd);
- if ((w <= 1) || (h <= 1))
+ if ((w <= 0) || (h <= 0))
{
w = 80;
h = 24;