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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 4d5812ba2c..e54935265c 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -180,7 +180,7 @@ bool save_changes(int overwrite)
180 } 180 }
181 } 181 }
182 182
183 fd = rb->open(filename,O_WRONLY|O_CREAT|O_TRUNC); 183 fd = rb->open(filename,O_WRONLY|O_CREAT|O_TRUNC, 0666);
184 if (fd < 0) 184 if (fd < 0)
185 { 185 {
186 newfile = true; 186 newfile = true;