From d2c3c6f91c8738c3a0e2aefff7491b007842bab8 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 8 Jan 2006 14:49:13 +0000 Subject: Aligned % fields in map git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2738 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 2f83916ac..f2836534c 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -2484,7 +2484,7 @@ class ModuleSpanningTree : public Module { percent = ((float)Current->GetUserCount() / (float)clientlist.size()) * 100; } - snprintf(text, 80, "%s %s%5d [%3.2f%%]", Current->GetName().c_str(), spacer, Current->GetUserCount(), percent); + snprintf(text, 80, "%s %s%5d [%5.2f%%]", Current->GetName().c_str(), spacer, Current->GetUserCount(), percent); strlcpy(&matrix[line][depth],text,80); line++; for (unsigned int q = 0; q < Current->ChildCount(); q++) -- cgit v1.2.3