From d1a4d662682b4d0582e7269d68beab9a0963f584 Mon Sep 17 00:00:00 2001 From: hinto-janaiyo Date: Sat, 17 Dec 2022 09:52:33 -0500 Subject: [PATCH] helper: fix GUI log reset message --- src/helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper.rs b/src/helper.rs index e3a087f..c71903c 100644 --- a/src/helper.rs +++ b/src/helper.rs @@ -269,7 +269,7 @@ impl Helper { let len = output.len(); if len > GUI_OUTPUT_LEEWAY { info!("{} Watchdog | Output is nearing {} bytes, resetting!", name, MAX_GUI_OUTPUT_BYTES); - let text = format!("{}\n{} GUI log is exceeding the maximum: {} bytes!\nI've reset the logs for you!\n{}\n\n\n\n", name, HORI_CONSOLE, MAX_GUI_OUTPUT_BYTES, HORI_CONSOLE); + let text = format!("{}\n{} GUI log is exceeding the maximum: {} bytes!\nI've reset the logs for you!\n{}\n\n\n\n", HORI_CONSOLE, name, MAX_GUI_OUTPUT_BYTES, HORI_CONSOLE); output.clear(); output.push_str(&text); debug!("{} Watchdog | Resetting GUI output ... OK", name);