diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-11-03 17:05:48 +0300 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-11-03 17:05:48 +0300 |
commit | 9e4229e0adc54c4218a192ee73ba415ddfccc706 (patch) | |
tree | 782d718f255b730c1bd2e44793d4427a504e2bd7 /source | |
parent | 8b5d86dfbad928cd56c02e718951a59e8133e00a (diff) |
OSX/fsmenu: fix compiling on older gcc reported by Mike S
Diffstat (limited to 'source')
-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, 3 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c index c117b8c2d3e..f046ac7cdb3 100644 --- a/source/blender/editors/space_file/fsmenu.c +++ b/source/blender/editors/space_file/fsmenu.c @@ -447,7 +447,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 (!strstr(line, "myDocuments.cannedSearch") && (*line != '\0')) { - fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, NULL); + fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, FS_APPEND_LAST); } CFRelease(pathString); diff --git a/source/blender/editors/space_file/fsmenu.h b/source/blender/editors/space_file/fsmenu.h index 01bd4e95afa..f66bfcef7eb 100644 --- a/source/blender/editors/space_file/fsmenu.h +++ b/source/blender/editors/space_file/fsmenu.h @@ -47,7 +47,8 @@ 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_FIRST = (1 << 2), /* moves the item to the front of the list when its not already there */ + FS_APPEND_LAST = (1 << 3) /*just append to preseve delivered order */ } FSMenuInsert; struct FSMenu; |