mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
font.c: correct checking cache_fd. remove some trailing spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24920 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
321148124a
commit
3e4b5c69db
1 changed files with 8 additions and 8 deletions
|
@ -615,7 +615,7 @@ void glyph_cache_save(struct font* pf)
|
|||
|
||||
lru_traverse(&pf->cache._lru, glyph_file_write);
|
||||
|
||||
if (cache_fd < 0)
|
||||
if (cache_fd >= 0)
|
||||
{
|
||||
close(cache_fd);
|
||||
cache_fd = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue