diff --git a/source/blender/editors/space_file/file_draw.c b/source/blender/editors/space_file/file_draw.c index 1739c15cbc6..db29d058e49 100644 --- a/source/blender/editors/space_file/file_draw.c +++ b/source/blender/editors/space_file/file_draw.c @@ -313,7 +313,7 @@ static void file_draw_preview(uiBlock *block, GPU_blend_set_func_separate( GPU_SRC_ALPHA, GPU_ONE_MINUS_SRC_ALPHA, GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA); - if (icon && (icon != ICON_FILE_FONT)) { + if (icon && !(typeflags & FILE_TYPE_FTFONT)) { /* size of center icon is scaled to fit container and UI scale */ float icon_x, icon_y; diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index af3ad0c354d..939235fc59a 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -739,7 +739,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks) FS_CATEGORY_SYSTEM_BOOKMARKS, &FOLDERID_Fonts, IFACE_("Fonts"), - ICON_FONTPREVIEW, + ICON_FILE_FONT, FS_INSERT_LAST); /* These items are just put in path cache for thumbnail views and if bookmarked. */