Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/entice
Dir : e17/apps/entice/src/bin
Modified Files:
exif.c
Log Message:
Reduce strlen usage.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entice/src/bin/exif.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- exif.c 18 Oct 2004 01:38:44 -0000 1.1
+++ exif.c 4 Nov 2005 09:27:39 -0000 1.2
@@ -47,7 +47,7 @@
fprintf(stderr, "EXIF: FOUND: %s : %s : 0x%04x\n", exifstr[i],
str, exifkey[i]);
#endif
- if (strlen(str) > 0)
+ if (str[0] != 0)
{
exif = (Entice_Exif *) malloc(sizeof(Entice_Exif));
memset(exif, 0, sizeof(exif));
-------------------------------------------------------
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