From ce08aebde703d81f424c13a6176ffd9e83f4309f Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 26 Dec 2009 13:49:14 +0000 Subject: (svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code -Revert (r18637): it's not needed any more --- src/network/network_content_gui.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/network/network_content_gui.cpp') diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index b179e2091..7d3c223db 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -435,9 +435,6 @@ public: void DrawMatrix(const Rect &r) const { - /* Is there something to do? */ - if (this->content.Length() == 0) return; - const NWidgetBase *nwi_checkbox = this->GetWidget(NCLWW_CHECKBOX); const NWidgetBase *nwi_name = this->GetWidget(NCLWW_NAME); const NWidgetBase *nwi_type = this->GetWidget(NCLWW_TYPE); -- cgit v1.2.3-70-g09d2