[Lldb-commits] [lldb] r141021 - /lldb/trunk/source/API/SBSourceManager.cpp

Johnny Chen johnny.chen at apple.com
Mon Oct 3 13:56:40 PDT 2011


Author: johnny
Date: Mon Oct  3 15:56:39 2011
New Revision: 141021

URL: http://llvm.org/viewvc/llvm-project?rev=141021&view=rev
Log:
Fix regression of test SourceManagerTestCase.test_display_source_python.

Modified:
    lldb/trunk/source/API/SBSourceManager.cpp

Modified: lldb/trunk/source/API/SBSourceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBSourceManager.cpp?rev=141021&r1=141020&r2=141021&view=diff
==============================================================================
--- lldb/trunk/source/API/SBSourceManager.cpp (original)
+++ lldb/trunk/source/API/SBSourceManager.cpp Mon Oct  3 15:56:39 2011
@@ -51,7 +51,7 @@
                                            const char* current_line_cstr,
                                            lldb_private::Stream *s)
         {
-            if (file)
+            if (!file)
                 return 0;
             
             if (m_debugger_sp)





More information about the lldb-commits mailing list