From: <enl...@li...> - 2000-10-29 23:51:35
|
Enlightenment CVS committal Author : gilbertt Project : misc Module : geist Modified Files: geist_imlib.c Log Message: *sigh =================================================================== RCS file: /cvsroot/enlightenment/misc/geist/src/geist_imlib.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -3 -r1.22 -r1.23 --- geist_imlib.c 2000/10/27 00:15:11 1.22 +++ geist_imlib.c 2000/10/29 23:51:34 1.23 @@ -499,7 +499,11 @@ void geist_imlib_save_image(Imlib_Image im, char *file) { + char *tmp; imlib_context_set_image(im); + tmp = strrchr(file, '.'); + if (tmp) + imlib_set_format(tmp + 1); imlib_save_image(file); } |