From 73dca1ca33c4699ac6a3f38e9bfb824983af56cb Mon Sep 17 00:00:00 2001 From: skidau Date: Sun, 26 Oct 2014 16:14:17 +1100 Subject: Added a new option to add memchecks from the Watch window. Fixed watch labels from being truncated at the first whitespace. --- Source/Core/Common/BreakPoints.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/Common/BreakPoints.cpp') diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp index e0498e34d0..ece8add228 100644 --- a/Source/Core/Common/BreakPoints.cpp +++ b/Source/Core/Common/BreakPoints.cpp @@ -249,7 +249,8 @@ void Watches::AddFromStrings(const TWatchesStr& bpstrs) std::stringstream ss; ss << std::hex << bpstr; ss >> bp.iAddress; - ss >> bp.name; + ss >> std::ws; + getline(ss, bp.name); Add(bp); } } -- cgit v1.2.3