DeleteAllDocument() failed to delete all of documents because of losing
consistency with document list. Here is a small patch.


Index: dbmgrform.c
===================================================================
RCS file: /cvs/plucker/plucker_src/viewer/dbmgrform.c,v
retrieving revision 1.60.2.3
diff -U3 -r1.60.2.3 dbmgrform.c
--- dbmgrform.c 15 Sep 2002 17:33:18 -0000      1.60.2.3
+++ dbmgrform.c 20 Sep 2002 15:40:38 -0000
@@ -768,6 +768,7 @@
     ReleaseDocInfoList();
     entries--;
     InitializeDocInfoList();
+    UpdateIndexList();
 }


@@ -836,7 +837,6 @@
                 failed++;
             } ErrEndCatch
         }
-        UpdateIndexList();
         ScrollTo( 0 );
         TblDrawTable( table );
         if ( failed != 0 )

_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to