[rkward-cvs] SF.net SVN: rkward:[3864] trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Fri Sep 30 07:27:35 UTC 2011


Revision: 3864
          http://rkward.svn.sourceforge.net/rkward/?rev=3864&view=rev
Author:   tfry
Date:     2011-09-30 07:27:35 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
Update two asserts

Modified Paths:
--------------
    trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp

Modified: trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
===================================================================
--- trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp	2011-09-29 21:17:14 UTC (rev 3863)
+++ trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp	2011-09-30 07:27:35 UTC (rev 3864)
@@ -456,7 +456,7 @@
 	RK_TRACE (DIALOGS);
 	if (command->failed ()) return;
 	if (command->getFlags () == GET_INSTALLED_PACKAGES) {
-		RK_ASSERT (command->getDataLength () == 6);
+		RK_ASSERT (command->getDataLength () == 5);
 
 		RData *package = command->getStructureVector ()[0];
 		RData *title = command->getStructureVector ()[1];
@@ -884,7 +884,7 @@
 		return;
 	}
 	RK_ASSERT (command->getDataType () == RCommand::StructureVector);
-	RK_ASSERT (command->getDataLength () == 4);
+	RK_ASSERT (command->getDataLength () == 5);
 
 	RData::RDataStorage top = command->getStructureVector ();
 	RData::RDataStorage available = top[0]->getStructureVector ();

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the rkward-tracker mailing list