diff options
Diffstat (limited to 'apps/plugins/text_editor.c')
| -rw-r--r-- | apps/plugins/text_editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c index 4d5812b..e549352 100644 --- a/apps/plugins/text_editor.c +++ b/apps/plugins/text_editor.c @@ -180,7 +180,7 @@ bool save_changes(int overwrite) } } - fd = rb->open(filename,O_WRONLY|O_CREAT|O_TRUNC); + fd = rb->open(filename,O_WRONLY|O_CREAT|O_TRUNC, 0666); if (fd < 0) { newfile = true; |