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:
authorJens Verwiebe <info@jensverwiebe.de>2014-10-04 12:47:53 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-15 15:06:04 +0400
commit9ea9ebae97ad91c41c2119418eacf3c9fb0e0d92 (patch)
tree29cbce6ef7ce94679d11837cc79320b25f5af4a4 /source/blender
parentf660d7187bbaa1dbec252a81af5e27c488a3efd4 (diff)
OSX: simplyfy last commit for fs_menu system_bookmarks
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_file/fsmenu.c2
-rw-r--r--source/blender/editors/space_file/fsmenu.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index bfbe61dc93e..1915f45fc87 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 ce494554970..01bd4e95afa 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;