[apps/shared] Use StorageFunction::k_maxNameWithArgumentSize

This commit is contained in:
Léa Saviot
2018-10-12 13:57:15 +02:00
committed by Émilie Feral
parent f388099cbc
commit 93632fce0e
3 changed files with 3 additions and 3 deletions

View File

@@ -32,8 +32,7 @@ protected:
MessageTableCellWithChevron m_copyColumn;
SelectableTableView m_selectableTableView;
private:
constexpr static int k_maxNumberOfCharsInTitle = Poincare::SymbolAbstract::k_maxNameSize + 4; /* Function name and null-terminating char + "(x)" */;
char m_pageTitle[k_maxNumberOfCharsInTitle];
char m_pageTitle[StorageFunction::k_maxNameWithArgumentSize];
StorageFunction * m_function;
char m_symbol;
};