Correctly clear the screen(s) after a dircache build - this fixes the I04 error when leaving USB mode

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7727 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-02 12:05:33 +00:00
parent 006d6c5dd5
commit 744437132e

View File

@ -1364,9 +1364,14 @@ void tree_restore(void)
str(LANG_DIRCACHE_BUILDING));
gui_textarea_update(&screens[i]);
}
dircache_build(global_settings.dircache_size);
/* Clean the text when we are done. */
gui_textarea_clear(&screens[i]);
for(i = 0;i < NB_SCREENS;++i)
{
gui_textarea_clear(&screens[i]);
}
}
#endif
}