diff options
| -rw-r--r-- | src/cgg.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -121,13 +121,11 @@ main (int argc, char* argv[]) /* Initialize ImageMagick at this point, for multithreading safety */ MagickWandGenesis(); - setup = g_malloc0 (sizeof (TGallerySetup)); - /* Parse commandline */ if (! parse_cmd (argc, argv)) return -1; - if ((! source_dir) || (access (source_dir, R_OK))) { + if (! source_dir || access (source_dir, R_OK)) { fprintf (stderr, "error: source directory must be specified and pointing to valid structure\n"); return -4; } |
