Bug#414779: Patch proposition

2009-04-05 Thread Vincent MAUGE
Sorry,

I forgot the patch in my previous mail.

Regards,

Vincent
--- GraphicsMagick-1.3.5.orig/magick/display.c	2009-01-05 22:07:13.0 +0100
+++ GraphicsMagick-1.3.5/magick/display.c	2009-04-03 14:44:02.0 +0200
@@ -12797,7 +12797,6 @@
   */
   if (resource_info->delay > 1)
 display_image->delay=resource_info->delay;
-  timer=time((time_t *) NULL)+(long) display_image->delay/100+1;
   update_time=0;
   if (resource_info->update)
 {
@@ -12807,7 +12806,10 @@
   status=MagickStat(display_image->filename,&file_info);
   if (status == 0)
 update_time=file_info.st_mtime;
+  if (resource_info->delay <= 1)
+  display_image->delay=resource_info->update*100;
 }
+  timer=time((time_t *) NULL)+(long) display_image->delay/100+1;
   *state&=(~FormerImageState);
   *state&=(~MontageImageState);
   *state&=(~NextImageState);


Bug#414779: Patch proposition

2009-04-05 Thread Vincent MAUGE
tages 414779 patch

This is a patch against 1.3.5 tarball (last version in sid).
It's force a delay option with the update option. I think the manpage
doesn't need to be change.

Regards,

Vincent



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org