diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_file/fsmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index f9dbe49604d..c8ced692f6e 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -1014,7 +1014,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks) * the FS_CATEGORY_OTHER category so that these directories * have the appropriate icons when they are added to the Bookmarks. */ #define FS_UDIR_PATH(dir, icon) \ - if (strlen(dir) > 2) { \ + if (BLI_strnlen(dir, 3) > 2) { \ fsmenu_insert_entry(fsmenu, FS_CATEGORY_OTHER, dir, NULL, icon, FS_INSERT_LAST); \ } |