]> granicus.if.org Git - graphviz/commitdiff
Fix bug in which prism values were not initialized when overlap=false,
authorerg <devnull@localhost>
Tue, 22 Feb 2011 02:22:15 +0000 (02:22 +0000)
committererg <devnull@localhost>
Tue, 22 Feb 2011 02:22:15 +0000 (02:22 +0000)
which now implies prism.

lib/neatogen/adjust.c

index 9553819739ae1131a3fb1d71c8e11f18e9f6bf4f..7fcdfd99fada085152943d9a7c5f70221191900f 100644 (file)
@@ -983,6 +983,8 @@ static adjust_data *getAdjustMode(Agraph_t* g, char *s, adjust_data* dp)
                dp->mode = adjustMode[1].mode;
                dp->print = adjustMode[1].print;
            }
+           if (dp->mode == AM_PRISM)
+               setPrismValues (g, "", dp);
        }
     }
     return dp;