From 16b39131b68b3e878da6a7f70df9ccd7ebd8daf1 Mon Sep 17 00:00:00 2001
From: Zachary Turner <zturner@google.com>
Date: Fri, 23 Sep 2016 18:13:18 +0000
Subject: [PATCH] Try again to match the logic of the code before re-writing.

llvm-svn: 282271
---
 lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp b/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
index f256322b707e..6d331326dec6 100644
--- a/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
+++ b/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
@@ -138,7 +138,7 @@ Error OptionGroupValueObjectDisplay::SetOptionValue(
     if (option_arg.empty())
       no_summary_depth = 1;
     else if (option_arg.getAsInteger(0, no_summary_depth)) {
-      no_summary_depth = 1;
+      no_summary_depth = 0;
       error.SetErrorStringWithFormat("invalid pointer depth '%s'",
                                      option_arg.str().c_str());
     }