Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv15339/src/mail

Modified Files:
        ThreadJWZ.cpp 
Log Message:
Fix a nasty crashing bug in the threading

Index: ThreadJWZ.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/ThreadJWZ.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -u -2 -r1.26 -r1.27
--- ThreadJWZ.cpp       12 Sep 2002 02:36:51 -0000      1.26
+++ ThreadJWZ.cpp       15 Nov 2002 17:17:17 -0000      1.27
@@ -1440,4 +1440,7 @@
    prev = c, c = next, next = (c == 0 ? 0 : c->getNext()))
    {
+      if (c->getChild() != 0 && !fromBreakThreads) {   
+         pruneEmptyContainers(c, false);
+      }
       if ((c->getThreadable() == 0 ||
            c->getThreadable()->isDummy()) &&
@@ -1479,8 +1482,5 @@
          delete c;
          c = prev;
-
-      } else if (c->getChild() != 0 && !fromBreakThreads)
-
-         pruneEmptyContainers(c, false);
+      }
    }
 }



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to