From 1f2c375672c94306e2bc817eb02d9347171ab1ad Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Thu, 15 Nov 2012 07:25:13 +0000
Subject: Fix loading of status messages

Change-Id: I03af596b46a75d5fae7c222369ca12795017b876

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));
 			}
 		}
 	}
-- 
cgit v0.10.2-6-g49f6