summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRogier Polak <rogier.l.a.polak@gmail.com>2007-03-14 18:18:44 +0000
committerRogier Polak <rogier.l.a.polak@gmail.com>2007-03-14 18:18:44 +0000
commit16faa1f2ead902fd5f883dab487fc4ef4762c45f (patch)
tree3924c018ff3e20ab3db8d9bcad983e4738805c58 /src
parent7ee29dd31113ea6419801e42de0e4b4a122b7aca (diff)
downloadmanaserv-16faa1f2ead902fd5f883dab487fc4ef4762c45f.tar.gz
manaserv-16faa1f2ead902fd5f883dab487fc4ef4762c45f.tar.bz2
manaserv-16faa1f2ead902fd5f883dab487fc4ef4762c45f.tar.xz
manaserv-16faa1f2ead902fd5f883dab487fc4ef4762c45f.zip
Corrected formatting of single-line comments
Diffstat (limited to 'src')
-rw-r--r--src/account-server/accounthandler.cpp2
-rw-r--r--src/account-server/characterdata.hpp2
-rw-r--r--src/chat-server/chatchannelmanager.cpp2
-rw-r--r--src/configuration.cpp4
-rw-r--r--src/game-server/gamehandler.cpp2
-rw-r--r--src/skill.cpp2
-rw-r--r--src/utils/stringfilter.cpp2
7 files changed, 8 insertions, 8 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp
index fe3c64d8..4f2bbe89 100644
--- a/src/account-server/accounthandler.cpp
+++ b/src/account-server/accounthandler.cpp
@@ -393,7 +393,7 @@ AccountHandler::handleReconnectMessage(AccountClient &computer, MessageIn &msg)
for (AccountPendingClients::iterator j = pendingClients.begin(),
j_end = pendingClients.end(); j != j_end; ++j)
{
- if (j->second == &computer) return; //Allready inserted
+ if (j->second == &computer) return; // Allready inserted
}
pendingClients.insert(std::make_pair(magic_token, &computer));
return; //Waiting for the gameserver
diff --git a/src/account-server/characterdata.hpp b/src/account-server/characterdata.hpp
index 4122bdbe..c7ac3dea 100644
--- a/src/account-server/characterdata.hpp
+++ b/src/account-server/characterdata.hpp
@@ -177,7 +177,7 @@ class CharacterData: public AbstractCharacterData
//!< the character.
};
-//Utility typedefs
+// Utility typedefs
/**
* Type definition for a smart pointer to CharacterData.
*/
diff --git a/src/chat-server/chatchannelmanager.cpp b/src/chat-server/chatchannelmanager.cpp
index 822188c3..eb21ca50 100644
--- a/src/chat-server/chatchannelmanager.cpp
+++ b/src/chat-server/chatchannelmanager.cpp
@@ -28,7 +28,7 @@
ChatChannelManager::ChatChannelManager()
{
- //Load stored public chat channels from db
+ // Load stored public chat channels from db
Storage &store = Storage::instance("tmw");
mChatChannels = store.getChannelList();
}
diff --git a/src/configuration.cpp b/src/configuration.cpp
index 277a37e2..819334f4 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -108,8 +108,8 @@ void Configuration::write()
for (iter = options.begin(); iter != options.end(); iter++)
{
- //logger->log("Configuration::write(%s, \"%s\")",
- //iter->first.c_str(), iter->second.c_str());
+ // logger->log("Configuration::write(%s, \"%s\")",
+ // iter->first.c_str(), iter->second.c_str());
xmlTextWriterStartElement(writer, BAD_CAST "option");
xmlTextWriterWriteAttribute(writer,
diff --git a/src/game-server/gamehandler.cpp b/src/game-server/gamehandler.cpp
index 7fd42f80..7b82c1a8 100644
--- a/src/game-server/gamehandler.cpp
+++ b/src/game-server/gamehandler.cpp
@@ -340,7 +340,7 @@ void GameHandler::processMessage(NetComputer *comp, MessageIn &message)
{
std::string magic_token(utils::getMagicToken());
result.writeString(magic_token, MAGIC_TOKEN_LENGTH);
- //No accountserver data, the client should remember that
+ // No accountserver data, the client should remember that
accountHandler->playerReconnectAccount(
computer.character->getDatabaseID(),
magic_token);
diff --git a/src/skill.cpp b/src/skill.cpp
index e059f549..d897e540 100644
--- a/src/skill.cpp
+++ b/src/skill.cpp
@@ -44,7 +44,7 @@ Skill::~Skill()
bool Skill::addSkill(const std::string &ident, Skill *skill)
{
if (ident == id) {
- //add skill to children
+ // add skill to children
children.push_back(skill);
return true;
}
diff --git a/src/utils/stringfilter.cpp b/src/utils/stringfilter.cpp
index ba1f1b99..c08a9942 100644
--- a/src/utils/stringfilter.cpp
+++ b/src/utils/stringfilter.cpp
@@ -71,7 +71,7 @@ void StringFilter::writeSlangFilterList()
++i;
if (i != mSlangs.end()) slangsList += ",";
}
- //mConfig->setValue("SlangsList", slangsList);
+ // mConfig->setValue("SlangsList", slangsList);
}
bool StringFilter::filterContent(const std::string& text)