[poincare] Limit Symbol names to 7 chars

Function names now fit in the title cells of graph/values and in the
banner view of graph/graph
This commit is contained in:
Léa Saviot
2018-10-12 13:59:20 +02:00
committed by Émilie Feral
parent 7cfe3b904e
commit b6ac925df6

View File

@@ -44,7 +44,7 @@ class SymbolAbstract : public Expression {
public:
const char * name() const { return node()->name(); }
static size_t TruncateExtension(char * dst, const char * src, size_t len);
constexpr static size_t k_maxNameSize = 16;
constexpr static size_t k_maxNameSize = 8;
protected:
SymbolAbstract(const SymbolAbstractNode * node) : Expression(node) {}
SymbolAbstractNode * node() const { return static_cast<SymbolAbstractNode *>(Expression::node()); }