Commit: 9d8c1658a131405980a5dfc3b79d4ebc6ac0ab05
Author: Jens Verwiebe
Date:   Sat Oct 4 10:47:53 2014 +0200
Branches: master
https://developer.blender.org/rB9d8c1658a131405980a5dfc3b79d4ebc6ac0ab05

OSX: simplyfy last commit for fs_menu system_bookmarks

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

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

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

diff --git a/source/blender/editors/space_file/fsmenu.c 
b/source/blender/editors/space_file/fsmenu.c
index bfbe61d..1915f45 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -443,7 +443,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int 
read_bookmarks)
                                
                                if (pathString == NULL || 
!CFStringGetCString(pathString, line, sizeof(line), kCFStringEncodingASCII))
                                        continue;
-                               fsmenu_insert_entry(fsmenu, 
FS_CATEGORY_SYSTEM_BOOKMARKS, line, FS_INSERT_LAST);
+                               fsmenu_insert_entry(fsmenu, 
FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL);
                                
                                CFRelease(pathString);
                                CFRelease(cfURL);
diff --git a/source/blender/editors/space_file/fsmenu.h 
b/source/blender/editors/space_file/fsmenu.h
index ce49455..01bd4e9 100644
--- a/source/blender/editors/space_file/fsmenu.h
+++ b/source/blender/editors/space_file/fsmenu.h
@@ -47,8 +47,7 @@ typedef enum FSMenuCategory {
 typedef enum FSMenuInsert {
        FS_INSERT_SORTED = (1 << 0),
        FS_INSERT_SAVE   = (1 << 1),
-       FS_INSERT_FIRST  = (1 << 2),   /* moves the item to the front of the 
list when its not already there */
-       FS_INSERT_LAST  = (1 << 3)   /* moves the item to the end of the list 
when its not already there */
+       FS_INSERT_FIRST  = (1 << 2)   /* moves the item to the front of the 
list when its not already there */
 } FSMenuInsert;
 
 struct FSMenu;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to