[ion/unicode] Clean special code points

This commit is contained in:
Léa Saviot
2019-03-26 14:49:11 +01:00
committed by Émilie Feral
parent 379f098858
commit 1d26e6da73
24 changed files with 108 additions and 86 deletions

View File

@@ -235,7 +235,7 @@ void SumGraphController::LegendView::setEditableZone(double d) {
void SumGraphController::LegendView::setSumSymbol(Step step, double start, double end, double result, Layout functionLayout) {
assert(step == Step::Result || functionLayout.isUninitialized());
constexpr int sigmaLength = 2;
const CodePoint sigma[sigmaLength] = {UCodePointSpace, m_sumSymbol};
const CodePoint sigma[sigmaLength] = {' ', m_sumSymbol};
if (step == Step::FirstParameter) {
m_sumLayout = LayoutHelper::CodePointString(sigma, sigmaLength);
} else if (step == Step::SecondParameter) {