summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/client.cpp2
-rw-r--r--src/gui/serverdialog.cpp2
-rw-r--r--src/gui/setup_video.cpp6
-rw-r--r--src/net/tmwa/guildhandler.cpp2
-rw-r--r--src/net/tmwa/network.cpp2
-rw-r--r--src/net/tmwa/partyhandler.cpp4
6 files changed, 9 insertions, 9 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 5488d8ad..482bb9dc 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -961,7 +961,7 @@ int Client::exec()
case STATE_ERROR:
logger->log("State: ERROR");
- logger->log("Error: %s\n", errorMessage.c_str());
+ logger->log("Error: %s", errorMessage.c_str());
mCurrentDialog = new OkDialog(_("Error"), errorMessage);
mCurrentDialog->addActionListener(&errorListener);
mCurrentDialog = NULL; // OkDialog deletes itself
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index 0762b00f..09ba7cd1 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -676,7 +676,7 @@ int ServerDialog::downloadUpdate(void *ptr, DownloadStatus status,
}
else if (status < 0)
{
- logger->log("Error retreiving server list: %s\n",
+ logger->log("Error retreiving server list: %s",
sd->mDownload->getError());
sd->mDownloadStatus = DOWNLOADING_ERROR;
}
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index 81ce8107..b576f302 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -224,11 +224,11 @@ Setup_Video::Setup_Video():
mParticleEffectsCheckBox(new CheckBox(_("Particle effects"),
mParticleEffectsEnabled)),
mNameCheckBox(new CheckBox(_("Show own name"), mNameEnabled)),
- mNPCLogCheckBox(new CheckBox(_("Log NPC interations"), mNPCLogEnabled)),
+ mNPCLogCheckBox(new CheckBox(_("Log NPC interactions"), mNPCLogEnabled)),
mPickupNotifyLabel(new Label(_("Show pickup notification"))),
- // TRANSLATORS: Refers to "Show own name"
+ // TRANSLATORS: Refers to "Show pickup notification"
mPickupChatCheckBox(new CheckBox(_("in chat"), mPickupChatEnabled)),
- // TRANSLATORS: Refers to "Show own name"
+ // TRANSLATORS: Refers to "Show pickup notification"
mPickupParticleCheckBox(new CheckBox(_("as particle"),
mPickupParticleEnabled)),
mSpeechSlider(new Slider(0, 3)),
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;
}