Revision: 5720 http://geany.svn.sourceforge.net/geany/?rev=5720&view=rev Author: ntrel Date: 2011-04-13 12:22:30 +0000 (Wed, 13 Apr 2011)
Log Message: ----------- Remove check for documents[i]->is_valid as foreach_document(i) already does this (oops).
Modified Paths: -------------- trunk/src/ui_utils.c
Modified: trunk/src/ui_utils.c =================================================================== --- trunk/src/ui_utils.c 2011-04-13 12:20:19 UTC (rev 5719) +++ trunk/src/ui_utils.c 2011-04-13 12:22:30 UTC (rev 5720) @@ -2428,8 +2428,7 @@ /* copy the documents_array into the new one */ foreach_document(i) { - if (documents[i]->is_valid) - g_ptr_array_add(sorted_documents, documents[i]); + g_ptr_array_add(sorted_documents, documents[i]); } /* and now sort it */ if (compare_func != NULL)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.