forked from len0rd/rockbox
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
This commit is contained in:
parent
376057d2b6
commit
22b7701fe7
33 changed files with 327 additions and 339 deletions
|
@ -325,13 +325,13 @@ static bool save_memo(int changed, bool new_mod, struct shown *shown)
|
|||
}
|
||||
if (new_mod)
|
||||
{
|
||||
rb->fprintf(fq, "%02d%02d%04d%01d%01d%s\n",
|
||||
memos[changed].day,
|
||||
memos[changed].month,
|
||||
memos[changed].year,
|
||||
memos[changed].wday,
|
||||
memos[changed].type,
|
||||
memos[changed].message);
|
||||
rb->fdprintf(fq, "%02d%02d%04d%01d%01d%s\n",
|
||||
memos[changed].day,
|
||||
memos[changed].month,
|
||||
memos[changed].year,
|
||||
memos[changed].wday,
|
||||
memos[changed].type,
|
||||
memos[changed].message);
|
||||
}
|
||||
rb->lseek(fp, memos[changed].file_pointer_end, SEEK_SET);
|
||||
for (i = memos[changed].file_pointer_end;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue