From d73e358a1e8779c7ab015bde6e60b961db1d24ab Mon Sep 17 00:00:00 2001 From: kcgen Date: Thu, 21 Oct 2021 07:30:53 -0700 Subject: [PATCH] Fix typo when populating the warning level string --- loguru.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loguru.cpp b/loguru.cpp index 9032245..2dba56e 100644 --- a/loguru.cpp +++ b/loguru.cpp @@ -1317,7 +1317,7 @@ namespace loguru if (custom_level_name) { snprintf(level_buff, sizeof(level_buff) - 1, "%s", custom_level_name); } else { - snprintf(level_buff, sizeof(level_buff) - 1, "% 4d", verbosity); + snprintf(level_buff, sizeof(level_buff) - 1, "%4d", verbosity); } size_t pos = 0;