[haiku-commits] r42094 - haiku/trunk/src/apps/debugger/files

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 11 Jun 2011 03:02:23 +0200 (CEST)

Author: anevilyak
Date: 2011-06-11 03:02:22 +0200 (Sat, 11 Jun 2011)
New Revision: 42094
Changeset: https://dev.haiku-os.org/changeset/42094

Modified:
   haiku/trunk/src/apps/debugger/files/FileManager.cpp
Log:
Fix minor oversight in previous commit.



Modified: haiku/trunk/src/apps/debugger/files/FileManager.cpp
===================================================================
--- haiku/trunk/src/apps/debugger/files/FileManager.cpp 2011-06-11 01:00:25 UTC 
(rev 42093)
+++ haiku/trunk/src/apps/debugger/files/FileManager.cpp 2011-06-11 01:02:22 UTC 
(rev 42094)
@@ -191,8 +191,10 @@
                else {
                        DeadEntryList::Iterator iterator = 
fDeadEntries.GetIterator();
                        while (iterator.HasNext()) {
-                               if (iterator.Next() == entry)
+                               if (iterator.Next() == entry) {
                                        fDeadEntries.Remove(entry);
+                                       break;
+                               }
                        }
                }
        }


Other related posts:

  • » [haiku-commits] r42094 - haiku/trunk/src/apps/debugger/files - anevilyak