From e2ce1e15962cef031c3d1e88c6ee0d61296d4e10 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 13 Nov 2012 08:52:10 +0000 Subject: Don't include the trailing line ending in status messages Change-Id: Ie986c4ba946b55962dc6cec99a1c9a6eb29b6d71 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(boost::lexical_cast(bits[0])); - previousStatuses_.push_back(PreviousStatus(bits[1], type)); + previousStatuses_.push_back(PreviousStatus(boost::trim(bits[1]), type)); } } } -- cgit v0.10.2-6-g49f6