diff options
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r-- | apps/plugins/calendar.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 44b3685c40..8627c9a558 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c | |||
@@ -325,13 +325,13 @@ static bool save_memo(int changed, bool new_mod, struct shown *shown) | |||
325 | } | 325 | } |
326 | if (new_mod) | 326 | if (new_mod) |
327 | { | 327 | { |
328 | rb->fprintf(fq, "%02d%02d%04d%01d%01d%s\n", | 328 | rb->fdprintf(fq, "%02d%02d%04d%01d%01d%s\n", |
329 | memos[changed].day, | 329 | memos[changed].day, |
330 | memos[changed].month, | 330 | memos[changed].month, |
331 | memos[changed].year, | 331 | memos[changed].year, |
332 | memos[changed].wday, | 332 | memos[changed].wday, |
333 | memos[changed].type, | 333 | memos[changed].type, |
334 | memos[changed].message); | 334 | memos[changed].message); |
335 | } | 335 | } |
336 | rb->lseek(fp, memos[changed].file_pointer_end, SEEK_SET); | 336 | rb->lseek(fp, memos[changed].file_pointer_end, SEEK_SET); |
337 | for (i = memos[changed].file_pointer_end; | 337 | for (i = memos[changed].file_pointer_end; |