summaryrefslogtreecommitdiff
path: root/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'item.cc')
-rw-r--r--item.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/item.cc b/item.cc
index 72f447be94..453200627b 100644
--- a/item.cc
+++ b/item.cc
@@ -1,13 +1,14 @@
#include "line.hh"
#include "symbol.hh"
-#include "cols.hh"
+#include "molecule.hh"
+#include "pcol.hh"
String
Spanner::TeXstring() const
{
assert(right->line);
Real w = left->hpos - right->hpos;
- return (*strets)(w);
+ return strets->eval(w).tex;
}
Spanner *