From 993b6e6c74846351ab8526d12c596d58ee923c34 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 26 Oct 2007 01:41:45 +0000 Subject: [PATCH] added 3 more spaces to version output so our version numbers look nice --- amxmodx/srvcmd.cpp | 8 ++++---- plugins/admincmd.sma | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/amxmodx/srvcmd.cpp b/amxmodx/srvcmd.cpp index 79f1f456..c6ed4148 100755 --- a/amxmodx/srvcmd.cpp +++ b/amxmodx/srvcmd.cpp @@ -39,7 +39,7 @@ void amx_command() { print_srvconsole("Currently loaded plugins:\n"); - print_srvconsole(" %-23.22s %-8.7s %-17.16s %-16.15s %-9.8s\n", "name", "version", "author", "file", "status"); + print_srvconsole(" %-23.22s %-11.10s %-17.16s %-16.15s %-9.8s\n", "name", "version", "author", "file", "status"); int plugins = 0; int running = 0; @@ -52,7 +52,7 @@ void amx_command() if ((*a).isValid() && !(*a).isPaused()) ++running; - print_srvconsole(" [%3d] %-23.22s %-8.7s %-17.16s %-16.15s %-9.8s\n", plugins, (*a).getTitle(), (*a).getVersion(), (*a).getAuthor(), (*a).getName(), (*a).getStatus()); + print_srvconsole(" [%3d] %-23.22s %-11.10s %-17.16s %-16.15s %-9.8s\n", plugins, (*a).getTitle(), (*a).getVersion(), (*a).getAuthor(), (*a).getName(), (*a).getStatus()); ++a; } @@ -215,7 +215,7 @@ void amx_command() else if (!strcmp(cmd, "modules")) { print_srvconsole("Currently loaded modules:\n"); - print_srvconsole(" %-23.22s %-8.7s %-20.19s %-11.10s\n", "name", "version", "author", "status"); + print_srvconsole(" %-23.22s %-11.10s %-20.19s %-11.10s\n", "name", "version", "author", "status"); int running = 0; int modules = 0; @@ -228,7 +228,7 @@ void amx_command() ++running; ++modules; - print_srvconsole(" [%2d] %-23.22s %-8.7s %-20.19s %-11.10s\n", modules, (*a).getName(), (*a).getVersion(), (*a).getAuthor(), (*a).getStatus()); + print_srvconsole(" [%2d] %-23.22s %-11.10s %-20.19s %-11.10s\n", modules, (*a).getName(), (*a).getVersion(), (*a).getAuthor(), (*a).getStatus()); ++a; } diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index 7aa41fa8..ab5c8287 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -796,13 +796,13 @@ public cmdPlugins(id, level, cid) new running = 0 console_print(id, "----- %L -----", id, "LOADED_PLUGINS") - console_print(id, "%-18.17s %-8.7s %-17.16s %-16.15s %-9.8s", lName, lVersion, lAuthor, lFile, lStatus) + console_print(id, "%-18.17s %-11.10s %-17.16s %-16.15s %-9.8s", lName, lVersion, lAuthor, lFile, lStatus) new i=StartPLID; while (i