[ion] Typo: NoEnough -> NotEnough

This commit is contained in:
Émilie Feral
2018-03-22 10:17:25 +01:00
committed by EmilieNumworks
parent 36e6851c21
commit 845fc7c979
4 changed files with 6 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ void EditorController::setScript(Script script) {
bool EditorController::handleEvent(Ion::Events::Event event) {
if (event == Ion::Events::OK || event == Ion::Events::Back) {
Script::ErrorStatus err = m_script.writeContent(m_areaBuffer, strlen(m_areaBuffer)+1);
if (err == Script::ErrorStatus::NoEnoughSpaceAvailable || err == Script::ErrorStatus::RecordDoesNotExist) {
if (err == Script::ErrorStatus::NotEnoughSpaceAvailable || err == Script::ErrorStatus::RecordDoesNotExist) {
assert(false); // This should not happen as we set the text area according to the available space in the Kallax
} else {
stackController()->pop();