From 9ae83b4bb267c032f9499e80bc6b3bcd9fb37e71 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Jan 2012 18:17:21 +0300 Subject: Fix code style. --- src/net/inventoryhandler.h | 2 +- src/net/manaserv/specialhandler.cpp | 4 ++-- src/net/messagein.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net') diff --git a/src/net/inventoryhandler.h b/src/net/inventoryhandler.h index 45f7c3028..642d6f1c1 100644 --- a/src/net/inventoryhandler.h +++ b/src/net/inventoryhandler.h @@ -58,7 +58,7 @@ class InventoryHandler //void changeCart() = 0; virtual void moveItem2(int source, int slot, int amount, - int destination) = 0; + int destination) = 0; // TODO: fix/remove me virtual size_t getSize(int type) const = 0; diff --git a/src/net/manaserv/specialhandler.cpp b/src/net/manaserv/specialhandler.cpp index 73fa864a3..c168afd7c 100644 --- a/src/net/manaserv/specialhandler.cpp +++ b/src/net/manaserv/specialhandler.cpp @@ -59,8 +59,8 @@ void SpecialHandler::useBeing(int id A_UNUSED, int level A_UNUSED, // TODO } -void SpecialHandler::usePos(int id A_UNUSED, int level A_UNUSED, int x A_UNUSED, - int y A_UNUSED) +void SpecialHandler::usePos(int id A_UNUSED, int level A_UNUSED, + int x A_UNUSED, int y A_UNUSED) { // TODO } diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp index 6efc3ddfe..0547ed337 100644 --- a/src/net/messagein.cpp +++ b/src/net/messagein.cpp @@ -264,10 +264,10 @@ unsigned char *MessageIn::readBytes(int length) #ifdef ENABLEDEBUGLOG std::string str; - for (int f = 0;f < length; f ++) + for (int f = 0; f < length; f ++) str += strprintf ("%02x", (unsigned)buf[f]); str += " "; - for (int f = 0;f < length; f ++) + for (int f = 0; f < length; f ++) { if (buf[f]) str += strprintf ("%c", buf[f]); -- cgit v1.2.3-60-g2f50