diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-22 12:19:12 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-22 12:19:12 +0000 |
commit | 22b7701fe75cce9afdbc27046821dc089f9e7dac (patch) | |
tree | ca5b4f0428fad0fc9c775dfb0ac879ddee863846 /apps/plugins/calendar.c | |
parent | 376057d2b67bae0a7b24ae1715d3cbb0b540b7a9 (diff) | |
download | rockbox-22b7701fe75cce9afdbc27046821dc089f9e7dac.tar.gz rockbox-22b7701fe75cce9afdbc27046821dc089f9e7dac.zip |
Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
between uisimulator files and firmware/apps files are better done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
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; |