Enlightenment CVS committal

Author  : gilbertt
Project : misc
Module  : feh

Dir     : misc/feh/src


Modified Files:
        slideshow.c 


Log Message:

Tue Mar 18 19:07:17 GMT 2003  Tom Gilbert <[EMAIL PROTECTED]>

  * Fix bug reloading http images that fail to download on subsequent
    attempts.


===================================================================
RCS file: /cvsroot/enlightenment/misc/feh/src/slideshow.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- slideshow.c 23 Feb 2003 16:35:47 -0000      1.78
+++ slideshow.c 18 Mar 2003 19:08:43 -0000      1.79
@@ -129,6 +129,10 @@
    /* if the image has changed in dimensions - we gotta resize */
    if ((feh_load_image(&tmp, FEH_FILE(w->file->data))) == 0) {
      weprintf("Couldn't reload image. Is it still there?");
+     winwidget_rename(w, title);
+     free(title);
+     free(new_title);
+     D_RETURN_(4);
    }
 
    if ((gib_imlib_image_get_width(w->im) != gib_imlib_image_get_width(tmp)) || 
(gib_imlib_image_get_height(w->im) != gib_imlib_image_get_height(tmp))) {




-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to