aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/commands_edit.cpp')
-rw-r--r--toolsrc/src/commands_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp
index bd23489ff..4e83fcca8 100644
--- a/toolsrc/src/commands_edit.cpp
+++ b/toolsrc/src/commands_edit.cpp
@@ -23,7 +23,7 @@ namespace vcpkg::Commands::Edit
if (env_EDITOR.empty())
{
- const Optional<std::wstring> env_EDITOR_optional = System::get_environmental_variable(L"EDITOR");
+ const Optional<std::wstring> env_EDITOR_optional = System::get_environment_variable(L"EDITOR");
if (auto e = env_EDITOR_optional.get())
{
env_EDITOR = *e;