[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] ERROR only one % allowed in filename
From: |
E-Blokos |
Subject: |
Re: [Swftools-common] ERROR only one % allowed in filename |
Date: |
Fri, 15 Nov 2013 00:11:43 -0800 |
maybe something like this:
--- pdf2swf.c 2013-11-15 03:03:12.741410872 -0500
+++ pdf2swf_new.c 2013-11-15 03:04:18.679406655 -0500
@@ -710,13 +710,17 @@
show_info(driver, filename);
return 0;
}
-
char*u = 0;
- if((u = strchr(outputname, '%'))) {
+ if((u = strchr(outputname, '%'))){
+ char*t = 0;
+ if((t = strchr(outputname, '/'))){
+ string outputnametemp = outputname.Split('/').Last();
+ outputname =
outputnametemp.Split("\/".ToCharArray()).Last();
+ }
if(strchr(u+1, '%') ||
- strchr(outputname, '%')!=u) {
- msg("<error> only one %% allowed in filename\n");
- return 1;
+ strchr(outputnametemp, '%')!=u){
+ msg("<error> only one %% allowed in filename\n");
+ return 1;
}
if(preloader || viewer) {
msg("<error> -b/-l/-B/-L not supported together with %% in
filename\n");
- Re: [Swftools-common] ERROR only one % allowed in filename, (continued)
- Re: [Swftools-common] ERROR only one % allowed in filename, Lists, 2013/11/14
- Re: [Swftools-common] ERROR only one % allowed in filename, E-Blokos, 2013/11/14
- Message not available
- Re: [Swftools-common] ERROR only one % allowed in filename, Lists, 2013/11/14
- [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Hans J Nuecke, 2013/11/14
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/23
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Hans J Nuecke, 2013/11/24
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/25
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Hans J Nuecke, 2013/11/24
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/25
- Message not available
- Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?, Lists, 2013/11/26
Re: [Swftools-common] ERROR only one % allowed in filename,
E-Blokos <=