]> git.donarmstrong.com Git - lilypond.git/blobdiff - src/item.cc
release: 0.0.18
[lilypond.git] / src / item.cc
index 4a8ea949d6c9a3c392e267f25639221f9b220886..ba71539d301f35b5861fe00c9afa63ccddc959a2 100644 (file)
@@ -36,7 +36,9 @@ Interval
 Item::width() const
 {
     Interval i =output->extent().x ;
-    return i+=offset_.x;
+    if (!i.empty())            // float exception on DEC Alpha
+        i+=offset_.x;
+    return i;
 }
 
 Interval