Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-02-26 10:19:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-26 10:19:29 +0300
commit466d37e0b1551625209367c86a39f8f7992be2d8 (patch)
tree37d52dc897b76762600376d53e4ae258669e799a
parentde8062053d3c40dc05961124418a53b67afed90e (diff)
UI: remove check for HOME existing on unix
This is such a corner case there is no need to make the UI aware of it.
-rw-r--r--source/blender/editors/space_file/fsmenu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index f523c253a9e..ecbd4696e1b 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -809,10 +809,8 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
if (read_bookmarks && home) {
- if (BLI_exists(home)) {
- fsmenu_insert_entry(
- fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, home, IFACE_("Home"), ICON_HOME, FS_INSERT_LAST);
- }
+ fsmenu_insert_entry(
+ fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, home, IFACE_("Home"), ICON_HOME, FS_INSERT_LAST);
/* Follow the XDG spec, check if these are available. */
GHash *xdg_map = fsmenu_xdg_user_dirs_parse(home);