]> granicus.if.org Git - graphviz/commit
fdpgen: remove 'Wd2' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 28 Dec 2022 23:11:43 +0000 (15:11 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 1 Jan 2023 00:38:35 +0000 (16:38 -0800)
commite3b087ac87a6b34ea1036e8ca072318f0b92be2d
tree8078be84b86639929eb76d6873ff402829883b5b
parent728119b8e8f53f2b1b89f3fdcaaf6340b38c51db
fdpgen: remove 'Wd2' parameter

Without tracing the code, it was challenging to see that `Wd2` was always being
set consistently to evaluate to `Wd * Wd`. We can remove this complexity by
simply removing the parameter entirely and computing it on-demand.
lib/fdpgen/tlayout.c