Enlightenment CVS committal
Author : sebastid
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/lib
Modified Files:
edje_text.c
Log Message:
Don't use strlen to check if a string is empty.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_text.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- edje_text.c 27 Oct 2005 02:44:36 -0000 1.39
+++ edje_text.c 4 Nov 2005 07:56:13 -0000 1.40
@@ -514,7 +514,7 @@
font = chosen_desc->text.font;
size = chosen_desc->text.size;
- if ((chosen_desc->text.text_class) && (strlen(chosen_desc->text.text_class)
> 0))
+ if ((chosen_desc->text.text_class) && (chosen_desc->text.text_class[0] !=
0))
{
Edje_Text_Class *tc;
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs