]> granicus.if.org Git - graphviz/commitdiff
Fix bug in which -X#s is treated as -X#s-
authorerg <devnull@localhost>
Mon, 2 Aug 2010 20:38:06 +0000 (20:38 +0000)
committererg <devnull@localhost>
Mon, 2 Aug 2010 20:38:06 +0000 (20:38 +0000)
cmd/tools/ccomps.c

index 9df3677ec3110351354c5e7e2930151005d9ae8a..77ad6a3a9ed1b5ccd100827eb238c47b9d9e4516 100644 (file)
@@ -181,6 +181,8 @@ static void init(int argc, char *argv[])
                                optarg);
                        }
                    }
+                   else
+                       x_final = x_index;
                } else
                    fprintf(stderr,
                            "ccomps: number expected in -X%s flag - ignored\n",