From 5e4d387d83611081e484663298f5a1239ce27f10 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 4 Feb 2016 15:46:59 -0500 Subject: [PATCH] Diagnostics: Added missing \n characters --- src/commands/CmdDiagnostics.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/CmdDiagnostics.cpp b/src/commands/CmdDiagnostics.cpp index cdf60cc32..9ccb47abd 100644 --- a/src/commands/CmdDiagnostics.cpp +++ b/src/commands/CmdDiagnostics.cpp @@ -352,6 +352,9 @@ int CmdDiagnostics::execute (std::string& output) } } + if (! count) + out << "\n"; + out << " Inactive: "; count = 0; for (auto& hook : hooks) @@ -381,6 +384,9 @@ int CmdDiagnostics::execute (std::string& output) } } } + + if (! count) + out << "\n"; } else out << format (" ({1})\n", STRING_CMD_DIAG_NONE);