[apps/solver] Display the whole solution name when long name

This commit is contained in:
Léa Saviot
2018-11-06 11:50:31 +01:00
committed by Émilie Feral
parent 041b643b15
commit b622c54d50

View File

@@ -167,7 +167,7 @@ void SolutionsController::willDisplayCellAtLocation(HighlightCell * cell, int i,
* text is variableX, with X the row index. For instance, x0, x1,...*/
int length = strlcpy(bufferSymbol, m_equationStore->variableAtIndex(0), Equation::k_maxVariableSize);
bufferSymbol[length++] = j+'0';
bufferSymbol[2] = 0;
bufferSymbol[length] = 0;
break;
}
symbolCell->setText(bufferSymbol);