netdisco (1.0-1) 05_graphviz_defaults

Summary

 netdisco |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_graphviz_defaults.dpatch by Oliver Gorwits <oliver.gorwits@oucs.ox.ac.uk>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Alter the default options for GraphViz to omit less warnings
## DP: Bug#497939

@DPATCH@

diff -urN netdisco-1.0.orig/netdisco netdisco-1.0/netdisco
--- netdisco-1.0.orig/netdisco	2009-06-20 18:45:13.000000000 +0100
+++ netdisco-1.0/netdisco	2009-09-08 18:55:57.000000000 +0100
@@ -4095,7 +4095,7 @@
                     'style'     => $CONFIG{node_style}     || 'filled',
                     'fontname'  => $CONFIG{node_font}      || 'lucon',
                     'fontsize'  => $CONFIG{node_fontsize}  || 12,
-                    'fixedsize' => $CONFIG{node_fixedsize} || 'true',
+                    'fixedsize' => $CONFIG{node_fixedsize} ? 'true' : 'false',
                     };
     $node_defs->{height} = $CONFIG{node_height} if defined $CONFIG{node_height};
     $node_defs->{width}  = $CONFIG{node_width}  if defined $CONFIG{node_width};