summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBSourceManager.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-10-03 20:56:39 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-10-03 20:56:39 +0000
commit44d6d2c52632121b8e7661f21ecf28ac33898e65 (patch)
tree144a65a388f2a538f080d665e758e4966946331b /lldb/source/API/SBSourceManager.cpp
parent5dd3425b778657f6b8146f061f34d314f7dcbc66 (diff)
downloadbcm5719-llvm-44d6d2c52632121b8e7661f21ecf28ac33898e65.tar.gz
bcm5719-llvm-44d6d2c52632121b8e7661f21ecf28ac33898e65.zip
Fix regression of test SourceManagerTestCase.test_display_source_python.
llvm-svn: 141021
Diffstat (limited to 'lldb/source/API/SBSourceManager.cpp')
-rw-r--r--lldb/source/API/SBSourceManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBSourceManager.cpp b/lldb/source/API/SBSourceManager.cpp
index 64b8e543966..76f58b73c6d 100644
--- a/lldb/source/API/SBSourceManager.cpp
+++ b/lldb/source/API/SBSourceManager.cpp
@@ -51,7 +51,7 @@ namespace lldb_private
const char* current_line_cstr,
lldb_private::Stream *s)
{
- if (file)
+ if (!file)
return 0;
if (m_debugger_sp)
OpenPOWER on IntegriCloud