termio: allow 1 line or 1 column windows. Closes T7532

This commit is contained in:
Boris Faure 2019-01-04 23:34:08 +01:00
parent a5d364bcbf
commit 6952836a32
1 changed files with 1 additions and 1 deletions

View File

@ -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;