diff options
author | Kevin Smith <git@kismith.co.uk> | 2012-11-15 07:25:13 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-12-23 11:46:08 (GMT) |
commit | 1f2c375672c94306e2bc817eb02d9347171ab1ad (patch) | |
tree | 417500a3d84f87f3175847b0e6ef5c427e1ec783 /Swift/Controllers | |
parent | e2ce1e15962cef031c3d1e88c6ee0d61296d4e10 (diff) | |
download | swift-1f2c375672c94306e2bc817eb02d9347171ab1ad.zip swift-1f2c375672c94306e2bc817eb02d9347171ab1ad.tar.bz2 |
Fix loading of status messages
Change-Id: I03af596b46a75d5fae7c222369ca12795017b876
Diffstat (limited to 'Swift/Controllers')
-rw-r--r-- | Swift/Controllers/StatusCache.cpp | 2 |
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)); } } } |