From ac8a1cbb659d91911eb9253ea7a56ac8c8de99ea Mon Sep 17 00:00:00 2001 From: kramm Date: Mon, 20 Aug 2007 19:36:17 +0000 Subject: [PATCH] added "linkfunction" shortcut parameter --- lib/devices/swf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/devices/swf.c b/lib/devices/swf.c index 8a2bcb9..915f443 100644 --- a/lib/devices/swf.c +++ b/lib/devices/swf.c @@ -1780,6 +1780,9 @@ int swf_setparameter(gfxdevice_t*dev, const char*name, const char*value) i->config_internallinkfunction = strdup(value); } else if(!strcmp(name, "externallinkfunction")) { i->config_externallinkfunction = strdup(value); + } else if(!strcmp(name, "linkfunction")) { //sets both internallinkfunction and externallinkfunction + i->config_internallinkfunction = strdup(value); + i->config_externallinkfunction = strdup(value); } else if(!strcmp(name, "disable_polygon_conversion")) { i->config_disable_polygon_conversion = atoi(value); } else if(!strcmp(name, "insertstop")) { -- 1.7.10.4