Fix copy-paste error

SVN revision: 82434
This commit is contained in:
Jaehwan Kim 2013-01-09 04:57:54 +00:00
parent 29a9437bef
commit 803ff266ac
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ _smart_extents_calculate(Evas_Object *box, Evas_Object_Box_Data *priv, int horiz
evas_object_size_hint_max_get(opt->obj, &mnw, &mnh);
if (mnh >= 0)
{
if (maxw == -1) maxh = mnh;
if (maxh == -1) maxh = mnh;
else if (maxh > mnh) maxh = mnh;
}
if (mnw >= 0)

View File

@ -374,7 +374,7 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
edje_object_size_min_get(tt->tooltip, &eminw, &eminh);
if (eminw && (ominw < eminw)) ominw = eminw;
if (eminw && (ominh < eminh)) ominh = eminh;
if (eminh && (ominh < eminh)) ominh = eminh;
if (ominw < 1) ominw = 10; /* at least it is noticeable */
if (ominh < 1) ominh = 10; /* at least it is noticeable */