From 81f0b0d070bf3b6313f6fa9c4a53a2dee86e4090 Mon Sep 17 00:00:00 2001 From: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com> Date: Mon, 29 Jun 2020 01:45:18 +0200 Subject: [PATCH] Derp fix and remove FTP from ReadMe. --- README.md | 1 - source/download/download.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 4747f6e..accd4e5 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ Universal-Updater is packed with features! Some include the JSON script updater, - JSON Script Downloader - An App Store, the UniStore - A Settings page, for configuring Universal-Updater Settings -- An FTP Server ## Compilation diff --git a/source/download/download.cpp b/source/download/download.cpp index b06804c..2fd473e 100644 --- a/source/download/download.cpp +++ b/source/download/download.cpp @@ -861,7 +861,7 @@ void displayProgressBar() { ((float)downloadNow/(float)downloadTotal) * 100.0f, Lang::get("DOWNLOAD_SPEED").c_str(), (speed / 1000), Lang::get("KB_PER_SECOND").c_str()); } else { - snprintf(str, sizeof(str), "%s / %s (%.2f%%) \n\n\n\n\n %s", + snprintf(str, sizeof(str), "%s / %s (%.2f%%)", formatBytes(downloadNow).c_str(), formatBytes(downloadTotal).c_str(), ((float)downloadNow/(float)downloadTotal) * 100.0f);