[apps/code] Correct text area buffer size

Change-Id: Icc250bd3f4db2e8f9f96471dedbdfd31eab220af
This commit is contained in:
Émilie Feral
2017-08-10 17:53:56 +02:00
parent 212384986f
commit ea55df62d4
3 changed files with 6 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ namespace Code {
EditorController::EditorController(Program * program) :
ViewController(nullptr),
m_view(this, program->editableContent(), 256),
m_view(this, program->editableContent(), program->bufferSize()),
m_program(program)
{
}