[Bf-blender-cvs] [5c829d2] master: OSX: fsmenu cleanup

Jens Verwiebe noreply at git.blender.org
Wed Oct 8 12:48:53 CEST 2014


Commit: 5c829d2c4e39c85b82c7ef5d2d4a5810ae6335e6
Author: Jens Verwiebe
Date:   Wed Oct 8 12:48:38 2014 +0200
Branches: master
https://developer.blender.org/rB5c829d2c4e39c85b82c7ef5d2d4a5810ae6335e6

OSX: fsmenu cleanup

===================================================================

M	source/blender/editors/space_file/fsmenu.c

===================================================================

diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index 2d21a88..6bc1d56 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -446,8 +446,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
 
                 /* Exclude "all my files" as it makes no sense in blender fileselector */
                 /* Exclude "airdrop" if wlan not active as it would show "" ) */
-                if (strcmp((char *)line, "/System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch")
-                    && (strcmp((char *)line, "")))   {
+                if (!strstr((char *)line, "myDocuments.cannedSearch") && (strcmp((char *)line, "")))   {
                     fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL);
                 }




More information about the Bf-blender-cvs mailing list