From 9b4bde7e4c3fdaa41fdd1c2cf0cf60c5127fb9ea Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 16 May 2020 13:02:44 -0400 Subject: [PATCH] Fix display of scalar variable values. --- CHANGES | 4 ++++ Source/NSXMLElementAdditions.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 42bbb32..10918f9 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ MacGDBp CHANGE LOG ================================================================================ +2.0.3 +##################### +- Fix: #265 Variables holding scalars would not display a value. + 2.0.2 ##################### - Fix: Crash when selecting stack frames after disconnecting. diff --git a/Source/NSXMLElementAdditions.m b/Source/NSXMLElementAdditions.m index e63c373..2fb6931 100644 --- a/Source/NSXMLElementAdditions.m +++ b/Source/NSXMLElementAdditions.m @@ -45,7 +45,7 @@ } // The value is just a normal string. - if (![self isLeaf]) + if ([self isLeaf]) return [self stringValue]; return nil; -- 2.43.5