Enlightenment CVS committal
Author : atmosphere
Project : e17
Module : libs/epsilon
Dir : e17/libs/epsilon/src/lib
Modified Files:
Epsilon.c
Log Message:
Spanky spanked me for being silly, thanks
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/epsilon/src/lib/Epsilon.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- Epsilon.c 18 Dec 2003 03:49:50 -0000 1.3
+++ Epsilon.c 18 Dec 2003 17:20:07 -0000 1.4
@@ -296,13 +296,15 @@
{
int iw, ih;
char outfile[PATH_MAX];
-
#ifdef HAVE_EPEG_H
Epeg_Image *im;
Epeg_Thumbnail_Info info;
int len = 0;
- len = strlen(e->src);
+#endif
+
if(!e || !e->hash || !e->src) return(EPSILON_FAIL);
+#ifdef HAVE_EPEG_H
+ len = strlen(e->src);
if((len > 4) &&
(
!strcmp(&e->src[len-3], "jpg") ||
@@ -341,8 +343,6 @@
Imlib_Image src = NULL;
int tw = THUMBNAIL_SIZE, th = THUMBNAIL_SIZE;
- if(!e || !e->hash || !e->src)
- return(EPSILON_FAIL);
if(stat(e->src, &filestatus) != 0)
return(EPSILON_FAIL);
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs