summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-11-13 08:52:10 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-12-23 11:46:08 (GMT)
commite2ce1e15962cef031c3d1e88c6ee0d61296d4e10 (patch)
tree8687c0e8ff6123a7fac8cf3e39ca1ea25fad934f /Swift
parentfd69376ab41d443d854fe26367dc027dd490d96b (diff)
downloadswift-contrib-e2ce1e15962cef031c3d1e88c6ee0d61296d4e10.zip
swift-contrib-e2ce1e15962cef031c3d1e88c6ee0d61296d4e10.tar.bz2
Don't include the trailing line ending in status messages
Change-Id: Ie986c4ba946b55962dc6cec99a1c9a6eb29b6d71
Diffstat (limited to 'Swift')
-rw-r--r--Swift/Controllers/StatusCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/StatusCache.cpp b/Swift/Controllers/StatusCache.cpp
index d3c8be5..01a5fbc 100644
--- a/Swift/Controllers/StatusCache.cpp
+++ b/Swift/Controllers/StatusCache.cpp
@@ -76,7 +76,7 @@ void StatusCache::loadRecents() {
}
StatusShow::Type type;
type = static_cast<StatusShow::Type>(boost::lexical_cast<size_t>(bits[0]));
- previousStatuses_.push_back(PreviousStatus(bits[1], type));
+ previousStatuses_.push_back(PreviousStatus(boost::trim(bits[1]), type));
}
}
}