From 428b3ad90f7c3cd539954ecc5150135ba138a363 Mon Sep 17 00:00:00 2001
From: jan <jan>
Date: Fri, 31 May 2002 22:31:32 +0000
Subject: [PATCH] (quanting): Increase REGION_SIZE to 4 by default. While we'd
 rather not want to pay the performance penalty, we certainly don't want silly
 bugs.  This should be looked into.

---
 ChangeLog    |  6 ++++++
 lily/beam.cc | 14 ++++++++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8f67e14163..5b37520de1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-06-01  Jan Nieuwenhuizen  <janneke@gnu.org>
+
+	* lily/beam.cc (quanting): Increase REGION_SIZE to 4 by default.
+	While we'd rather not want to pay the performance penalty, we
+	certainly don't want silly bugs.  This should be looked into.
+
 2002-05-31  Jan Nieuwenhuizen  <janneke@gnu.org>
 
 	* stepmake/aclocal.m4: Fix for ash as /bin/sh.
diff --git a/lily/beam.cc b/lily/beam.cc
index 465dba5254..15df1eaf68 100644
--- a/lily/beam.cc
+++ b/lily/beam.cc
@@ -465,8 +465,18 @@ Beam::quanting (SCM smob)
   Direction rdir = Direction (stem_infos.top ().dir_);
   bool knee_b = dirs_found[LEFT] && dirs_found[RIGHT];
 
-  
-  int REGION_SIZE = 2;
+  /*
+    This
+    
+      \score {
+        \context Staff \notes {
+	  \stemDown [e'8 e e']
+	}
+      }
+      
+    breaks with REGION_SIZE < 4
+  */
+  int REGION_SIZE = 4;
 
   /*
     Knees are harder, lets try some more possibilities for knees. 
-- 
2.39.5