summaryrefslogtreecommitdiff
path: root/apps/plugins/text_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/text_editor.c')
-rw-r--r--apps/plugins/text_editor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 06dc098..473bb68 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -182,10 +182,9 @@ bool save_changes(int overwrite)
if (newfile || !overwrite)
{
- if(rb->kbd_input(filename,MAX_PATH))
+ if(rb->kbd_input(filename,MAX_PATH) < 0)
{
newfile = true;
- rb->splash(HZ, "Cancelled");
return false;
}
}