mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Fix CondensedSumLayout created with a nullptr child
Change-Id: Ie6d4c6408a45a9cdf617b8cba988667c17f4cc36
This commit is contained in:
@@ -251,7 +251,7 @@ void SumGraphController::LegendView::setSumSymbol(Step step, double start, doubl
|
||||
m_sumLayout = new CondensedSumLayout(
|
||||
LayoutEngine::createStringLayout(sigma, sizeof(sigma)),
|
||||
LayoutEngine::createStringLayout(buffer, strlen(buffer), KDText::FontSize::Small),
|
||||
nullptr,
|
||||
new EmptyLayout(EmptyLayout::Color::Yellow, false),
|
||||
false);
|
||||
} else {
|
||||
char buffer[2+PrintFloat::bufferSizeForFloatsWithPrecision(Constant::LargeNumberOfSignificantDigits)];
|
||||
|
||||
Reference in New Issue
Block a user