diff options
Diffstat (limited to 'apps/plugins/calendar.c')
| -rw-r--r-- | apps/plugins/calendar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 3589998..13abdfc 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c @@ -611,7 +611,7 @@ static bool save_memo(int changed, bool new_mod, struct shown *shown) { int fp, fq; /* use O_RDWR|O_CREAT so that file is created if it doesn't exist. */ - fp = rb->open(MEMO_FILE, O_RDWR|O_CREAT); + fp = rb->open(MEMO_FILE, O_RDWR|O_CREAT, 0666); fq = rb->creat(TEMP_FILE, 0666); if ( (fq > -1) && (fp > -1) ) { |