[apps][escher] Delete magic numbers

Change-Id: If7a589d9f02895fc1b2e8b496133ab11381e733c
This commit is contained in:
Émilie Feral
2017-04-14 18:30:58 +02:00
parent 38a1048bc1
commit 024e55abeb
17 changed files with 23 additions and 21 deletions

View File

@@ -6,7 +6,7 @@
InputViewController::TextFieldController::ContentView::ContentView(Responder * parentResponder, TextFieldDelegate * textFieldDelegate) :
Responder(parentResponder),
View(),
m_textField(this, m_textBody, m_textBody, 255, textFieldDelegate, false)
m_textField(this, m_textBody, m_textBody, TextField::maxBufferSize(), textFieldDelegate, false)
{
m_textBody[0] = 0;
}