diff options
author | 2022-12-16 14:03:59 -0500 | |
---|---|---|
committer | 2022-12-17 06:03:59 +1100 | |
commit | 13910382a5e846677f30d1645bfb44e4983de557 (patch) | |
tree | bc75e208d5dc4305a6721dff63efaec2864db178 /src/osd/modules/render/bgfx/effectmanager.cpp | |
parent | 14c3d33e86ceeeeb57c44cb7d6aa85685f79813a (diff) |
osd/modules/file: Don't magically substitute environment variables when opening files. (#9859)
* util/options.cpp: Added option types for single and multiple paths.
* util/options.cpp: Substitute environment variables in values from defaults and INI files.
* ui/dirmenu.cpp: Removed hard-coded list of multi-path options.
* plugins: Don't substitute environment variables in path options.
Diffstat (limited to 'src/osd/modules/render/bgfx/effectmanager.cpp')
-rw-r--r-- | src/osd/modules/render/bgfx/effectmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/effectmanager.cpp b/src/osd/modules/render/bgfx/effectmanager.cpp index f57f56f708d..33e056b45fe 100644 --- a/src/osd/modules/render/bgfx/effectmanager.cpp +++ b/src/osd/modules/render/bgfx/effectmanager.cpp @@ -33,7 +33,7 @@ static bool prepare_effect_document(std::string &name, osd_options &options, rap full_name = full_name + ".json"; } - std::string path = osd_subst_env(util::string_format("%s" PATH_SEPARATOR "effects" PATH_SEPARATOR, options.bgfx_path())); + std::string path = util::string_format("%s" PATH_SEPARATOR "effects" PATH_SEPARATOR, options.bgfx_path()); path += full_name; bx::FileReader reader; |