summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-05-22 14:23:44 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-05-22 14:24:18 (GMT)
commitfabf140dcbefc420653406e602a521fd0fcba66d (patch)
tree10c6cba5750c2c3e9cf5b86cea658a91305b1a07 /Swift/Controllers/Chat/ChatControllerBase.cpp
parent8919370f7d0089864df8e70a8dea8dc48bfa5421 (diff)
downloadswift-fabf140dcbefc420653406e602a521fd0fcba66d.zip
swift-fabf140dcbefc420653406e602a521fd0fcba66d.tar.bz2
Fix formatting bugs from previous patch
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.cpp b/Swift/Controllers/Chat/ChatControllerBase.cpp
index ca93b68..0fcf901 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.cpp
+++ b/Swift/Controllers/Chat/ChatControllerBase.cpp
@@ -158,7 +158,7 @@ void ChatControllerBase::handleIncomingMessage(boost::shared_ptr<MessageEvent> m
boost::shared_ptr<Message> message = messageEvent->getStanza();
std::string body = message->getBody();
if (message->isError()) {
- std::string errorMessage = str(format(QT_TRANSLATE_NOOP("", "Couldn't send message: %1")) % getErrorMessage(message->getPayload<ErrorPayload>()));
+ std::string errorMessage = str(format(QT_TRANSLATE_NOOP("", "Couldn't send message: %1%")) % getErrorMessage(message->getPayload<ErrorPayload>()));
chatWindow_->addErrorMessage(errorMessage);
}
else {