If it's useless, remove it, please don't leave commented out code in, 
especially not one that commented out with the annoying //.

--
Tom.

On 21/01/15 15:14, Cedric BAIL wrote:
> cedric pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=cb1aae1fd24cd1ce0d76894a5116f510c422c6a1
>
> commit cb1aae1fd24cd1ce0d76894a5116f510c422c6a1
> Author: Cedric BAIL <ced...@osg.samsung.com>
> Date:   Wed Jan 21 16:13:50 2015 +0100
>
>      evas: do not compute things twice.
>
>      Fix CID 1265599, 1265597, 1265598 and 1265596.
> ---
>   src/modules/evas/engines/gl_common/evas_gl_font.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/modules/evas/engines/gl_common/evas_gl_font.c 
> b/src/modules/evas/engines/gl_common/evas_gl_font.c
> index 773ac99..248634b 100644
> --- a/src/modules/evas/engines/gl_common/evas_gl_font.c
> +++ b/src/modules/evas/engines/gl_common/evas_gl_font.c
> @@ -95,10 +95,10 @@ evas_gl_font_texture_draw(void *context, void *surface 
> EINA_UNUSED, void *draw_c
>                                   gc->dc->clip.w, gc->dc->clip.h);
>                if ((nw < 1) || (nh < 1)) return;
>
> -             ssx = (double)sx + ((double)(sw * (nx - x)) / (double)(tex->w));
> -             ssy = (double)sy + ((double)(sh * (ny - y)) / (double)(tex->h));
> -             ssw = ((double)sw * (double)(nw)) / (double)(tex->w);
> -             ssh = ((double)sh * (double)(nh)) / (double)(tex->h);
> +             //ssx = (double)sx + ((double)(sw * (nx - x)) / 
> (double)(tex->w));
> +             //ssy = (double)sy + ((double)(sh * (ny - y)) / 
> (double)(tex->h));
> +             //ssw = ((double)sw * (double)(nw)) / (double)(tex->w);
> +             //ssh = ((double)sh * (double)(nh)) / (double)(tex->h);
>
>                dx = x; dy = y; dw = sw; dh = sh;
>                mx = gc->dc->clip.mask_x; my = gc->dc->clip.mask_y; mw = 
> mask->w; mh = mask->h;
>



------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to