Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 83542 | Differences between
and this patch

Collapse All | Expand All

(-)old-imagemagick/magick/image.c (+8 lines)
Lines 2881-2888 Link Here
2881
            char
2881
            char
2882
              format[MaxTextExtent];
2882
              format[MaxTextExtent];
2883
2883
2884
	    /* Extract first numeric format specifier */
2884
            (void) CopyMagickString(format,p,MaxTextExtent);
2885
            (void) CopyMagickString(format,p,MaxTextExtent);
2886
	    if (q-p+1 < MaxTextExtent)
2887
		    format[q-p+1]='\0';
2888
	    /* Expand format */
2885
            (void) FormatMagickString(p,MaxTextExtent,format,image_info->scene);
2889
            (void) FormatMagickString(p,MaxTextExtent,format,image_info->scene);
2890
	    /* Copy rest of string verbatim without further expansion */
2891
	    (void) ConcatenateMagickString(filename,
2892
	                                   image_info->filename+(q-filename)+1,
2893
					   MaxTextExtent);
2886
            break;
2894
            break;
2887
          }
2895
          }
2888
      }
2896
      }

Return to bug 83542