--- psiconv/trunk/program/psiconv/gen_image.c 1999/12/02 23:36:45 39 +++ psiconv/trunk/program/psiconv/gen_image.c 1999/12/03 00:15:17 40 @@ -56,20 +56,23 @@ return -1; #if IMAGEMAGICK for (i = 0; i < psiconv_list_length(f->sections); i++) { - section = psiconv_list_get(f->sections,0); + section = psiconv_list_get(f->sections,i); this_image = get_paint_data_section(section); if (! image) { - image = image; + image = this_image; last_image = image; } else { last_image->next=this_image; this_image->previous=last_image; + this_image->scene=i; + last_image=this_image; } } - + GetImageInfo(&image_info); image_info.file = of; strcpy(image->magick, dest); + image_info.adjoin=1; WriteImage(&image_info,image); return 0; #endif