summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/text_editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 6767940938..89fdc39f90 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -170,7 +170,7 @@ void save_changes(int overwrite)
170 int fd; 170 int fd;
171 int i; 171 int i;
172 172
173 if (!filename[0] || overwrite) 173 if (!filename[0] || !overwrite)
174 { 174 {
175 rb->strcpy(filename,"/"); 175 rb->strcpy(filename,"/");
176 rb->kbd_input(filename,1024); 176 rb->kbd_input(filename,1024);