summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-09-11 20:25:24 +0200
committerStefan Dombrowski <stefan@uni-bonn.de>2010-09-11 20:25:24 +0200
commit81dd53a536f3f76636b058250750a661911a94ea (patch)
tree5638f8e48a0fbddfaf88deb8efd46fb62ca1ddf8 /src/net/tmwa
parent29e9ff188f1d64705ce53e8196e97b5eef30a547 (diff)
downloadmana-81dd53a536f3f76636b058250750a661911a94ea.tar.gz
mana-81dd53a536f3f76636b058250750a661911a94ea.tar.bz2
mana-81dd53a536f3f76636b058250750a661911a94ea.tar.xz
mana-81dd53a536f3f76636b058250750a661911a94ea.zip
Fixing misspelling in Setup_Video and removing empty lines from log
Reviewed-by: Jaxad0127
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/guildhandler.cpp2
-rw-r--r--src/net/tmwa/network.cpp2
-rw-r--r--src/net/tmwa/partyhandler.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index 8a106841..dac57b64 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -118,7 +118,7 @@ void GuildHandler::handleMessage(Net::MessageIn &msg)
msg.readInt8(); // Unused
std::string guildName = msg.readString(24);
- logger->log("Guild position info: %d %d %d %s\n", guildId,
+ logger->log("Guild position info: %d %d %d %s", guildId,
emblem, posMode, guildName.c_str());
}
break;
diff --git a/src/net/tmwa/network.cpp b/src/net/tmwa/network.cpp
index ddfbbc5d..aff19b11 100644
--- a/src/net/tmwa/network.cpp
+++ b/src/net/tmwa/network.cpp
@@ -326,7 +326,7 @@ MessageIn Network::getNextMessage()
len = readWord(2);
#ifdef DEBUG
- logger->log("Received packet 0x%x of length %d\n", msgId, len);
+ logger->log("Received packet 0x%x of length %d", msgId, len);
#endif
MessageIn msg(mInBuffer, len);
diff --git a/src/net/tmwa/partyhandler.cpp b/src/net/tmwa/partyhandler.cpp
index a88a27b6..611fe3e6 100644
--- a/src/net/tmwa/partyhandler.cpp
+++ b/src/net/tmwa/partyhandler.cpp
@@ -189,7 +189,7 @@ void PartyHandler::handleMessage(Net::MessageIn &msg)
partyTab->chatLog(_("Experience sharing not possible."), BY_SERVER);
break;
default:
- logger->log("Unknown party exp option: %d\n", exp);
+ logger->log("Unknown party exp option: %d", exp);
}
switch (item)
@@ -213,7 +213,7 @@ void PartyHandler::handleMessage(Net::MessageIn &msg)
partyTab->chatLog(_("Item sharing not possible."), BY_SERVER);
break;
default:
- logger->log("Unknown party item option: %d\n", exp);
+ logger->log("Unknown party item option: %d", exp);
}
break;
}