summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pngtrans.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/pngtrans.c b/pngtrans.c
index fea0160..c1adf25 100644
--- a/pngtrans.c
+++ b/pngtrans.c
@@ -58,20 +58,19 @@ low_pass (complex_image_t *image, double d)
int
main (int argc, char **argv)
{
- char *input, *output;
+ char *input;
GdkPixbuf *pb;
complex_image_t *image;
g_type_init ();
- if (argc < 3)
+ if (argc < 2)
{
- printf ("Usage: %s <input name> <output name>\n\n", argv[0]);
+ printf ("Usage: %s <input name>\n\n", argv[0]);
return 1;
}
input = argv[1];
- output = argv[2];
if (!(pb = gdk_pixbuf_new_from_file (input, NULL)))
{