Fix dimension computation.
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 3 Oct 2008 20:07:36 +0000 (20:07 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Fri, 3 Oct 2008 20:07:36 +0000 (20:07 +0000)
Patch by Chidambar 'ilLogict' Zinnoury.

SVN revision: 36423

src/modules/pager/e_mod_main.c

index 71c9d24..119cba4 100644 (file)
@@ -711,7 +711,7 @@ _pager_popup_new(E_Zone *zone, int keyaction)
    else
      height = pager_config->popup_height * y;
 
-   width = ((zone->w * x)/(zone->h * y)) * height;
+   width = height * (zone->w * x)/(zone->h * y);
 
    evas_object_move(pp->pager->o_table, 0, 0);
    evas_object_resize(pp->pager->o_table, width, height);