From: <Kha...@us...> - 2009-12-01 16:32:48
|
Revision: 4854 http://planeshift.svn.sourceforge.net/planeshift/?rev=4854&view=rev Author: Khakilord Date: 2009-12-01 16:32:42 +0000 (Tue, 01 Dec 2009) Log Message: ----------- Fixed potential crash in chatwindow. Modified Paths: -------------- trunk/src/client/gui/chatwindow.cpp Modified: trunk/src/client/gui/chatwindow.cpp =================================================================== --- trunk/src/client/gui/chatwindow.cpp 2009-12-01 15:59:45 UTC (rev 4853) +++ trunk/src/client/gui/chatwindow.cpp 2009-12-01 16:32:42 UTC (rev 4854) @@ -2262,7 +2262,7 @@ } } - if(needFlash) + if(needFlash && textbox) { pawsTabWindow* tabwindow = dynamic_cast<pawsTabWindow*>(textbox->GetParent()); if(tabwindow) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |