aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 16:08:32 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-07 16:22:35 -0700
commit8b59a289f2acbd27e6f7202cb3cc36c3000cc585 (patch)
tree426af1e2164b316eb8e401ff1e5513a82e3c0f11 /toolsrc/src/commands_install.cpp
parentd075c27949560f3e8e1b355b38f67e0ce1c9668e (diff)
downloadvcpkg-8b59a289f2acbd27e6f7202cb3cc36c3000cc585.tar.gz
vcpkg-8b59a289f2acbd27e6f7202cb3cc36c3000cc585.zip
Use existing variable
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index 1a8fccf9e..884be598a 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -288,7 +288,7 @@ namespace vcpkg::Commands::Install
switch (action.plan.plan_type)
{
case InstallPlanType::ALREADY_INSTALLED:
- System::println(System::Color::success, "Package %s is already installed", action.spec.display_name());
+ System::println(System::Color::success, "Package %s is already installed", display_name);
break;
case InstallPlanType::BUILD_AND_INSTALL:
{