[escher] Increase textfield size to 100

Change-Id: I93400001a829e2ce313658e08bd5e97965b715fe
This commit is contained in:
Émilie Feral
2017-05-29 10:41:15 +02:00
parent d13f989300
commit 1966b4648c
3 changed files with 8 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ public:
protected:
mutable Poincare::Expression * m_expression;
private:
constexpr static size_t k_dataLengthInBytes = TextField::maxBufferSize()*sizeof(char)+2;
constexpr static size_t k_dataLengthInBytes = TextField::maxBufferSize()*sizeof(char);
static_assert((k_dataLengthInBytes & 0x3) == 0, "The function data size is not a multiple of 4 bytes (cannot compute crc)"); // Assert that dataLengthInBytes is a multiple of 4
virtual char symbol() const = 0;
char m_text[TextField::maxBufferSize()];