[Lldb-commits] [lldb] r114330 - /lldb/trunk/source/Core/Debugger.cpp
Johnny Chen
johnny.chen at apple.com
Mon Sep 20 10:04:41 PDT 2010
Author: johnny
Date: Mon Sep 20 12:04:41 2010
New Revision: 114330
URL: http://llvm.org/viewvc/llvm-project?rev=114330&view=rev
Log:
Fixed wrong logic in validating term-width value; should be && instead of ||.
Modified:
lldb/trunk/source/Core/Debugger.cpp
Modified: lldb/trunk/source/Core/Debugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Debugger.cpp?rev=114330&r1=114329&r2=114330&view=diff
==============================================================================
--- lldb/trunk/source/Core/Debugger.cpp (original)
+++ lldb/trunk/source/Core/Debugger.cpp Mon Sep 20 12:04:41 2010
@@ -1313,7 +1313,7 @@
if (end && end[0] == '\0')
{
- if (width >= 10 || width <= 1024)
+ if (width >= 10 && width <= 1024)
valid = true;
else
err.SetErrorString ("Invalid term-width value; value must be between 10 and 1024.\n");
More information about the lldb-commits
mailing list