[solver] Fix Solver with variable-length symbols

This commit is contained in:
Émilie Feral
2018-09-27 15:33:21 +02:00
parent 594bc6395e
commit 0544aca649
2 changed files with 1 additions and 2 deletions

View File

@@ -160,7 +160,6 @@ void SolutionsController::willDisplayCellAtLocation(HighlightCell * cell, int i,
break;
default:
int length = strlcpy(bufferSymbol, m_equationStore->variableAtIndex(j), Equation::k_maxVariableSize);
bufferSymbol[0] = m_equationStore->variableAtIndex(0);
bufferSymbol[length++] = j+'0';
bufferSymbol[2] = 0;
break;