Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2/src/bin
Modified Files:
imlib2_view.c
Log Message:
always print an error message if an image cannot be opened
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/src/bin/imlib2_view.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- imlib2_view.c 1 Nov 2004 09:45:30 -0000 1.1
+++ imlib2_view.c 21 Nov 2004 17:35:22 -0000 1.2
@@ -125,7 +125,10 @@
{
no++;
if (no == argc)
- exit(0);
+ {
+ fprintf(stderr, "Image format not available\n");
+ exit(0);
+ }
file = argv[no];
image_width = 0;
im = imlib_load_image(file);
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs