summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-11-15 07:25:13 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-12-23 11:46:08 (GMT)
commit1f2c375672c94306e2bc817eb02d9347171ab1ad (patch)
tree417500a3d84f87f3175847b0e6ef5c427e1ec783
parente2ce1e15962cef031c3d1e88c6ee0d61296d4e10 (diff)
downloadswift-contrib-1f2c375672c94306e2bc817eb02d9347171ab1ad.zip
swift-contrib-1f2c375672c94306e2bc817eb02d9347171ab1ad.tar.bz2
Fix loading of status messages
Change-Id: I03af596b46a75d5fae7c222369ca12795017b876
-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 01a5fbc..e77bd55 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(boost::trim(bits[1]), type));
+ previousStatuses_.push_back(PreviousStatus(boost::trim_copy(bits[1]), type));
}
}
}