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 06dc098501..473bb68ead 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -182,10 +182,9 @@ bool save_changes(int overwrite)
182 182
183 if (newfile || !overwrite) 183 if (newfile || !overwrite)
184 { 184 {
185 if(rb->kbd_input(filename,MAX_PATH)) 185 if(rb->kbd_input(filename,MAX_PATH) < 0)
186 { 186 {
187 newfile = true; 187 newfile = true;
188 rb->splash(HZ, "Cancelled");
189 return false; 188 return false;
190 } 189 }
191 } 190 }