git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fd852
)
added -w, -h command-line options
author
kramm
<kramm>
Mon, 5 Jun 2006 07:55:07 +0000
(07:55 +0000)
committer
kramm
<kramm>
Mon, 5 Jun 2006 07:55:07 +0000
(07:55 +0000)
src/swfcombine.c
patch
|
blob
|
history
diff --git
a/src/swfcombine.c
b/src/swfcombine.c
index
72d1147
..
16589b1
100644
(file)
--- a/
src/swfcombine.c
+++ b/
src/swfcombine.c
@@
-161,6
+161,16
@@
int args_callback_option(char*name,char*val) {
config.scalex = config.scaley = atoi(val)/100.0;
return 1;
}
+ else if (!strcmp(name, "w"))
+ {
+ config.scalex = atoi(val)/100.0;
+ return 1;
+ }
+ else if (!strcmp(name, "h"))
+ {
+ config.scaley = atoi(val)/100.0;
+ return 1;
+ }
else if (!strcmp(name, "t") || !strcmp(name, "T"))
{
if(master_filename) {