doclib: Add helper script to build image map from dia files
[senf.git] / doclib / dot-munge.pl
index dd0d8f9..6214e48 100755 (executable)
@@ -5,7 +5,7 @@ s/fontsize=10/fontsize=8/g;
 s/fontname="FreeSans.ttf"/fontname="Verdana"/g;
 
 # Wrap long labels (templates and pathnames)
-if (/label=\"([^"]*)\"/) {                                  #"])){ # To make emacs happy ...
+if (/label=\"([^"]{48,})\"/) {                              #"])){ # To make emacs happy ...
     $pre=$`; 
     $post=$';                                               #';    # To make emacs happy ...
     $label=$1;