[apps/calculation] Magic number

Change-Id: Ic1d2b94f691f2d3334c06677bf45a56d60ec61a0
This commit is contained in:
Émilie Feral
2017-04-24 17:59:56 +02:00
parent a8a1f9ad9c
commit 5f2f903c4d

View File

@@ -10,7 +10,7 @@ namespace Calculation {
EditExpressionController::ContentView::ContentView(Responder * parentResponder, TableView * subview, TextFieldDelegate * textFieldDelegate) :
View(),
m_mainView(subview),
m_textField(parentResponder, m_textBody, 100, textFieldDelegate)
m_textField(parentResponder, m_textBody, TextField::maxBufferSize(), textFieldDelegate)
{
m_textBody[0] = 0;
}