Update of /cvsroot/audacity/audacity-src/src/effects/ladspa
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv17268/src/effects/ladspa
Modified Files:
LoadLadspa.cpp
Log Message:
Fixed LADSPA category bug
Index: LoadLadspa.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/effects/ladspa/LoadLadspa.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- LoadLadspa.cpp 23 Jun 2008 13:10:57 -0000 1.31
+++ LoadLadspa.cpp 12 Jul 2008 07:21:16 -0000 1.32
@@ -145,7 +145,8 @@
#if defined(USE_LIBLRDF) && defined(EFFECT_CATEGORIES)
std::multimap<unsigned long, wxString>::const_iterator iter;
iter = gPluginCategories.lower_bound(data->UniqueID);
- for ( ; iter->first == data->UniqueID; ++iter)
+ for ( ; (iter != gPluginCategories.end() &&
+ iter->first == data->UniqueID); ++iter)
categories.insert(iter->second);
#endif
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs