From 17421468127fa2906751990e81dbae0e72d8ab2b Mon Sep 17 00:00:00 2001 From: Felix Raimundo Date: Fri, 25 Mar 2016 17:22:12 +0100 Subject: [PATCH] Fix typo in the functions printing. Change-Id: Ifb7fa712c034fc24e73a4b2e4062c1864b1c7d25 --- poincare/src/function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/function.cpp b/poincare/src/function.cpp index 9def96a61..ab3bf0c47 100644 --- a/poincare/src/function.cpp +++ b/poincare/src/function.cpp @@ -22,7 +22,7 @@ Function::~Function() { ExpressionLayout * Function::createLayout() { ExpressionLayout** children_layouts = (ExpressionLayout **)malloc(4*sizeof(ExpressionLayout *)); children_layouts[0] = new StringLayout(m_function_name, strlen(m_function_name)); - char string[2] = {'-', '\0'}; + char string[2] = {'(', '\0'}; children_layouts[1] = new StringLayout(string, 1); children_layouts[2] = m_arg->createLayout(); string[0] = ')';