diff options
-rw-r--r-- | pngtrans.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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))) { |