From: Mario Date: Wed, 31 Jul 2024 10:35:11 +0000 (+1000) Subject: Clean up whitespace in both registry definitions X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fc1d1389ec9ceb7c220e6526654a6cc774d879f5;p=xonotic%2Fxonotic-data.pk3dir.git Clean up whitespace in both registry definitions --- diff --git a/qcsrc/server/command/reg.qh b/qcsrc/server/command/reg.qh index 121c1dc0b..59703d700 100644 --- a/qcsrc/server/command/reg.qh +++ b/qcsrc/server/command/reg.qh @@ -9,9 +9,9 @@ REGISTRY_DEFINE_GET(SERVER_COMMANDS, NULL) #define SERVER_COMMAND(id, description) \ CLASS(servercommand_##id, Command) \ ATTRIB(servercommand_##id, m_name, string, #id); \ - ATTRIB(servercommand_##id, m_description, string, description); \ + ATTRIB(servercommand_##id, m_description, string, description); \ ENDCLASS(servercommand_##id) \ - REGISTER(SERVER_COMMANDS, CMD_SV, id, m_id, NEW(servercommand_##id)); \ + REGISTER(SERVER_COMMANDS, CMD_SV, id, m_id, NEW(servercommand_##id)); \ METHOD(servercommand_##id, m_invokecmd, void(servercommand_##id this, int request, entity caller, int arguments, string command)) STATIC_INIT(SERVER_COMMANDS_aliases) { @@ -27,7 +27,7 @@ REGISTRY_DEFINE_GET(CLIENT_COMMANDS, NULL) #define CLIENT_COMMAND(id, description) \ CLASS(clientcommand_##id, Command) \ ATTRIB(clientcommand_##id, m_name, string, #id); \ - ATTRIB(clientcommand_##id, m_description, string, description); \ + ATTRIB(clientcommand_##id, m_description, string, description); \ ENDCLASS(clientcommand_##id) \ - REGISTER(CLIENT_COMMANDS, CMD_SVCL, id, m_id, NEW(clientcommand_##id)); \ + REGISTER(CLIENT_COMMANDS, CMD_SVCL, id, m_id, NEW(clientcommand_##id)); \ METHOD(clientcommand_##id, m_invokecmd, void(clientcommand_##id this, int request, entity caller, int arguments, string command))