Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/engines/common
Modified Files:
evas_font_draw.c evas_gradient_angular.c
Log Message:
fix some warnings!
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_font_draw.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- evas_font_draw.c 2 May 2006 07:28:47 -0000 1.26
+++ evas_font_draw.c 12 Aug 2006 14:46:15 -0000 1.27
@@ -82,7 +82,7 @@
}
else if (!fi->src->ft.face) /* Charmap not loaded, FI/FS blank */
{
- if (evas_common_font_source_load_complete(fi->src));
+ if (evas_common_font_source_load_complete(fi->src))
return 0;
index = FT_Get_Char_Index(fi->src->ft.face, gl);
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/lib/engines/common/evas_gradient_angular.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_gradient_angular.c 6 Aug 2006 01:27:22 -0000 1.6
+++ evas_gradient_angular.c 12 Aug 2006 14:46:15 -0000 1.7
@@ -1182,16 +1182,14 @@
DATA32 a = 1 + ((ll - (l << 16)) >> 8), a0 = a;
lp = l + off;
- /* FIXME: Statement with no effect */
- if (lp < 0) { lp = -lp; 257 - a; }
+ if (lp < 0) { lp = -lp; a = 257 - a; }
if (lp >= map_len)
{
int m = (lp % (2 * map_len));
lp = (lp % map_len);
- /* FIXME: Statement with no effect */
if (m >= map_len)
- { lp = map_len - lp - 1; 257 - a; }
+ { lp = map_len - lp - 1; a = 257 - a; }
}
*dst = map[lp];
if (lp + 1 < map_len)
@@ -1290,16 +1288,14 @@
DATA32 a = 1 + ((ll - (l << 16)) >> 8), a0 = a - 1;
lp = l + off;
- /* FIXME: Statement with no effect */
- if (lp < 0) { lp = -lp; 257 - a; }
+ if (lp < 0) { lp = -lp; a = 257 - a; }
if (lp >= map_len)
{
int m = (lp % (2 * map_len));
lp = (lp % map_len);
- /* FIXME: Statement with no effect */
if (m >= map_len)
- { lp = map_len - lp - 1; 257 - a; }
+ { lp = map_len - lp - 1; a = 257 - a; }
}
*dst = map[lp]; *mask = 255;
if (lp + 1 < map_len)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs