From: kramm <kramm>
Date: Sat, 24 Nov 2007 19:49:54 +0000 (+0000)
Subject: fixed 'help' option handling
X-Git-Tag: buttons-working~483
X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=b7ac8211d4eb07870dbc445427a73dad91742255;p=swftools.git

fixed 'help' option handling
---

diff --git a/lib/pdf/pdf.cc b/lib/pdf/pdf.cc
index 10cc190..401fbc7 100644
--- a/lib/pdf/pdf.cc
+++ b/lib/pdf/pdf.cc
@@ -323,9 +323,8 @@ static void pdf_set_parameter(gfxsource_t*src, const char*name, const char*value
 	printf("font=<filename> an dditional font filename\n");
 	printf("pages=<range>   the range of pages to convert (example: pages=1-100,210-)\n");
 	printf("zoom=<dpi>      the resultion (default: 72)\n");
-    } else {
-	storeDeviceParameter(name,value);
-    } 
+    }	
+    storeDeviceParameter(name,value);
 }
 
 static gfxdocument_t*pdf_open(gfxsource_t*src, const char*filename)