X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fdevices%2Fswf.c;h=b090c7bfe52e10b261da2963eea36c703f37f148;hp=af5d2842e81ff272e869d40aa57721bfdd8f9670;hb=7fb4a4ac393f19a0b8a8998a2f1deac88c97eda0;hpb=a1587574bba2fe7cffe40aa1bad0fe84aed23825 diff --git a/lib/devices/swf.c b/lib/devices/swf.c index af5d284..b090c7b 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -956,6 +956,7 @@ static void endpage(gfxdevice_t*dev) swfoutput_internal*i = (swfoutput_internal*)dev->internal; if(i->pagefinished) return; + if(i->shapeid>=0) endshape(dev); if(i->textmode) @@ -2121,6 +2122,8 @@ int swf_setparameter(gfxdevice_t*dev, const char*name, const char*value) i->config_dumpfonts = atoi(value); } else if(!strcmp(name, "animate")) { i->config_animate = atoi(value); + } else if(!strcmp(name, "linknameurl")) { + i->config_linknameurl = atoi(value); } else if(!strcmp(name, "showimages")) { i->config_showimages = atoi(value); } else if(!strcmp(name, "disablelinks")) {