[rkward-cvs] SF.net SVN: rkward: [1730] trunk/rkward

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Mar 26 10:10:32 UTC 2007


Revision: 1730
          http://svn.sourceforge.net/rkward/?rev=1730&view=rev
Author:   tfry
Date:     2007-03-26 03:10:32 -0700 (Mon, 26 Mar 2007)

Log Message:
-----------
One more check in RControlWindow should fix the crash for now

Modified Paths:
--------------
    trunk/rkward/TODO
    trunk/rkward/rkward/windows/rcontrolwindow.cpp

Modified: trunk/rkward/TODO
===================================================================
--- trunk/rkward/TODO	2007-03-25 22:53:23 UTC (rev 1729)
+++ trunk/rkward/TODO	2007-03-26 10:10:32 UTC (rev 1730)
@@ -9,6 +9,7 @@
 Should be fixed for 0.4.8:
 	- A way to define dependencies between pluginmaps
 		- Put the embeddable plugins a .pluginmap that is required by most others
+	- Find a solution for error handling in plugins
 
 Advertizing:
 	- start being a bit bolder about RKWard (descriptions, startup notification, etc.)

Modified: trunk/rkward/rkward/windows/rcontrolwindow.cpp
===================================================================
--- trunk/rkward/rkward/windows/rcontrolwindow.cpp	2007-03-25 22:53:23 UTC (rev 1729)
+++ trunk/rkward/rkward/windows/rcontrolwindow.cpp	2007-03-26 10:10:32 UTC (rev 1730)
@@ -134,6 +134,10 @@
 	RK_TRACE (APP);
 
 	RControlWindowListViewItem *chainitem = itemForChain (chain);
+	if (!chainitem) {
+		RK_ASSERT (false);
+		return;
+	}
 	chainitem->update (chain);
 	checkCleanChain (chainitem);
 }


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