From 6d8a3ac8cf107a7374fedb2fbb9d9fbca114e0d6 Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 29 Apr 2005 08:46:58 +0000 Subject: [PATCH] fixed -w option --- pdf2swf/pdf2swf.cc | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 1.7.10.4