diff options
author | 2022-12-16 14:03:59 -0500 | |
---|---|---|
committer | 2022-12-17 06:03:59 +1100 | |
commit | 13910382a5e846677f30d1645bfb44e4983de557 (patch) | |
tree | bc75e208d5dc4305a6721dff63efaec2864db178 /plugins/console/init.lua | |
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 'plugins/console/init.lua')
-rw-r--r-- | plugins/console/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/console/init.lua b/plugins/console/init.lua index 6b8643fe168..1b40ac50bee 100644 --- a/plugins/console/init.lua +++ b/plugins/console/init.lua @@ -243,7 +243,7 @@ function console.startplugin() end if (not started) then -- options are not available in startplugin, so we load the history here - local homepath = emu.subst_env(manager.options.entries.homepath:value():match("([^;]+)")) + local homepath = manager.options.entries.homepath:value():match("([^;]+)") history_fullpath = homepath .. '/' .. history_file ln.loadhistory(history_fullpath) started = true |