From: kramm Date: Fri, 29 Apr 2005 08:46:58 +0000 (+0000) Subject: fixed -w option X-Git-Tag: release-0-7-0~118 X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=6d8a3ac8cf107a7374fedb2fbb9d9fbca114e0d6;hp=219fa13e2a8d3118b26156ef68128dd6c0dd43fd;p=swftools.git fixed -w option --- diff --git a/pdf2swf/pdf2swf.cc b/pdf2swf/pdf2swf.cc index ed958d1..4881fa8 100644 --- a/pdf2swf/pdf2swf.cc +++ b/pdf2swf/pdf2swf.cc @@ -178,6 +178,11 @@ int args_callback_option(char*name,char*val) { pdfswf_setparameter("storeallcharacters", "1"); return 0; } + else if (!strcmp(name, "w")) + { + pdfswf_setparameter("linksopennewwindow", "0"); + return 0; + } else if (!strcmp(name, "F")) { char *s = strdup(val);