diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-10-04 12:47:53 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-10-04 12:48:07 +0400 |
commit | 9d8c1658a131405980a5dfc3b79d4ebc6ac0ab05 (patch) | |
tree | 0305d8fdc265b04709a9f7ec154f1a2355a0a087 /source/blender/editors | |
parent | 6359c36ba4070ca041f9a22e52d0e1c11e2a61d1 (diff) |
OSX: simplyfy last commit for fs_menu system_bookmarks
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_file/fsmenu.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_file/fsmenu.h | 3 |
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; |