forked from enlightenment/terminology
termio: small cleanup
This commit is contained in:
parent
8dd7aefcb4
commit
45539d433c
|
@ -5098,16 +5098,8 @@ _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 = 24;
|
||||
w = 80;
|
||||
}
|
||||
else if (h <= 1)
|
||||
{
|
||||
h = 24;
|
||||
w = 80;
|
||||
}
|
||||
if (w <= 1) w = 80;
|
||||
if (h <= 1) h = 24;
|
||||
|
||||
if (!force)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue