summaryrefslogtreecommitdiff
path: root/firmware/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/font.c')
-rw-r--r--firmware/font.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 2b86d338db..64bbf50d76 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -815,11 +815,6 @@ static void glyph_cache_save(int font_id)
815 struct font *pf = pf_from_handle(handle); 815 struct font *pf = pf_from_handle(handle);
816 if(pf && pf->fd >= 0) 816 if(pf && pf->fd >= 0)
817 { 817 {
818 /* FIXME: This sleep should not be necessary but without it *
819 * unloading multiple fonts and saving glyphcache files *
820 * quickly in succession creates multiple glyphcache files *
821 * with the same name. */
822 sleep(HZ/10);
823 char filename[MAX_PATH]; 818 char filename[MAX_PATH];
824 font_path_to_glyph_path(font_filename(font_id), filename); 819 font_path_to_glyph_path(font_filename(font_id), filename);
825 fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0666); 820 fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0666);