mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: make Searchpath a scoped enum
This commit is contained in:
committed by
Peter Nelson
parent
5aae8e2d64
commit
78bc829886
+1
-1
@@ -48,7 +48,7 @@ static constexpr size_t CHANGELOG_VERSIONS_LIMIT = 20;
|
||||
static std::optional<std::string> FindGameManualFilePath(std::string_view filename, Subdirectory subdir)
|
||||
{
|
||||
static const Searchpath searchpaths[] = {
|
||||
SP_APPLICATION_BUNDLE_DIR, SP_INSTALLATION_DIR, SP_SHARED_DIR, SP_BINARY_DIR, SP_WORKING_DIR
|
||||
Searchpath::ApplicationBundleDir, Searchpath::InstallationDir, Searchpath::SharedDir, Searchpath::BinaryDir, Searchpath::WorkingDir
|
||||
};
|
||||
|
||||
for (Searchpath sp : searchpaths) {
|
||||
|
||||
Reference in New Issue
Block a user