summaryrefslogtreecommitdiff
path: root/Source/Core/Common/BreakPoints.cpp
diff options
context:
space:
mode:
authorskidau <skidau@gmail.com>2014-10-26 16:14:17 +1100
committerskidau <skidau@gmail.com>2014-10-26 16:14:17 +1100
commit73dca1ca33c4699ac6a3f38e9bfb824983af56cb (patch)
treeee098a4bcf34cb2d564859375168db43a9a2af6e /Source/Core/Common/BreakPoints.cpp
parent2a3a8520a2571de587786944ac7654ac29220933 (diff)
Added a new option to add memchecks from the Watch window.
Fixed watch labels from being truncated at the first whitespace.
Diffstat (limited to 'Source/Core/Common/BreakPoints.cpp')
-rw-r--r--Source/Core/Common/BreakPoints.cpp3
1 files changed, 2 insertions, 1 deletions
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);
}
}