* flower/include/real.hh: std::fabs too.
+2005-09-08 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * lily/tie.cc (get_configuration): don't crash if left_dot is NULL.
+
+ * flower/include/real.hh: std::fabs too.
+
2005-09-08 Jan Nieuwenhuizen <janneke@gnu.org>
* Documentation/user/instrument-notation.itely (Entering lyrics):
using namespace std;
using std::isnan;
using std::isinf;
+using std::fabs;
template<class T> inline T abs (T x)
{
Avoid dot
*/
Grob *left_dot = unsmob_grob (me->get_bound (LEFT)->get_object ("dot"));
- int dot_pos = int (Staff_symbol_referencer::get_position (left_dot));
+ int dot_pos = dot_pos
+ ? int (Staff_symbol_referencer::get_position (left_dot))
+ : 0;
if (left_dot
&& (staff_position == dot_pos
|| staff_position + dir == dot_pos))