Remove Spurious B_BEOS_DATA_DIRECTORY
There is no DATA directory in BeOS, and its FindDir() doesn't implement it. No need for a confusing backwards compatibility to something that doesn't exist (had my hopes up, was going to move some non-executable files from AddOns to Data in a program that works in BeOS and Haiku). The removed enum label doesn't change the directory_which enum order or count, as it was aliasing the value of another existing enum label (B_SYSTEM_DATA_DIRECTORY). Fixes #13470 Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
This commit is contained in:
parent
9b6b158b88
commit
5e7964b0a9
@ -922,17 +922,6 @@
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\var directory_which B_BEOS_DATA_DIRECTORY
|
||||
\brief The BeOS data directory.
|
||||
|
||||
\deprecated Legacy BeOS definition to be phased out, use
|
||||
\c B_SYSTEM_DATA_DIRECTORY instead.
|
||||
|
||||
\since BeOS R3
|
||||
*/
|
||||
|
||||
|
||||
//// find_path[s]() flags
|
||||
|
||||
|
||||
|
@ -117,7 +117,6 @@ typedef enum {
|
||||
B_BEOS_TRANSLATORS_DIRECTORY,
|
||||
B_BEOS_MEDIA_NODES_DIRECTORY,
|
||||
B_BEOS_SOUNDS_DIRECTORY,
|
||||
B_BEOS_DATA_DIRECTORY,
|
||||
} directory_which;
|
||||
|
||||
|
||||
|
@ -128,7 +128,6 @@ directoryType directoryTypes[] = {
|
||||
KEYVALUE_PAIR(B_BEOS_TRANSLATORS_DIRECTORY),
|
||||
KEYVALUE_PAIR(B_BEOS_MEDIA_NODES_DIRECTORY),
|
||||
KEYVALUE_PAIR(B_BEOS_SOUNDS_DIRECTORY),
|
||||
KEYVALUE_PAIR(B_BEOS_DATA_DIRECTORY),
|
||||
|
||||
// Legacy "common" directories, for BeOS compatibility only.
|
||||
{"B_COMMON_DIRECTORY", B_SYSTEM_NONPACKAGED_DIRECTORY},
|
||||
|
Loading…
Reference in New Issue
Block a user