diff options
| author | skidau <skidau@gmail.com> | 2014-10-26 16:14:17 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2014-10-26 16:14:17 +1100 |
| commit | 73dca1ca33c4699ac6a3f38e9bfb824983af56cb (patch) | |
| tree | ee098a4bcf34cb2d564859375168db43a9a2af6e /Source/Core/Common/BreakPoints.cpp | |
| parent | 2a3a8520a2571de587786944ac7654ac29220933 (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.cpp | 3 |
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); } } |
