From cee9898a9935e9d48cb00b2dda8d7acc759fe44f Mon Sep 17 00:00:00 2001 From: Huntereb Date: Sat, 9 Nov 2019 10:46:43 -0500 Subject: [PATCH] Fix strings for net installs not being correct after copy-pasta-ing --- source/netInstall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/netInstall.cpp b/source/netInstall.cpp index 3ca8153..9c246f2 100755 --- a/source/netInstall.cpp +++ b/source/netInstall.cpp @@ -143,9 +143,9 @@ namespace netInstStuff{ printf("Failed to install"); printf("%s", e.what()); fprintf(stdout, "%s", e.what()); - inst::ui::setInstInfoText("Failed to install " + inst::util::shortenString(ourUrlList[urlItr].erase(0, 6), 42, true)); + inst::ui::setInstInfoText("Failed to install " + inst::util::shortenString(inst::util::formatUrlString(ourUrlList[urlItr]), 42, true)); inst::ui::setInstBarPerc(0); - inst::ui::mainApp->CreateShowDialog("Failed to install " + inst::util::shortenString(ourUrlList[urlItr].erase(0, 6), 42, true) + "!", "Partially installed contents can be removed from the System Settings applet.\n\n" + (std::string)e.what(), {"OK"}, true); + inst::ui::mainApp->CreateShowDialog("Failed to install " + inst::util::shortenString(inst::util::formatUrlString(ourUrlList[urlItr]), 42, true) + "!", "Partially installed contents can be removed from the System Settings applet.\n\n" + (std::string)e.what(), {"OK"}, true); nspInstalled = false; }