Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/med

Dir     : e17/apps/med/src


Modified Files:
        entry.c 


Log Message:
Reduce strlen usage.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/med/src/entry.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- entry.c     29 Dec 2002 17:45:28 -0000      1.5
+++ entry.c     4 Nov 2005 09:27:40 -0000       1.6
@@ -557,7 +557,7 @@
                  entry->cursor_pos--;
                  if (entry->cursor_pos < 0) entry->cursor_pos = 0;
               }
-            else if (strlen(type) > 0)
+            else if (type[0] != 0)
               {
                  e_entry_clear_selection(entry);
                  e_entry_insert_text(entry, type);




-------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to