lots of changes

- project init / destroy memory leak bugs fixed. some still exist
- moodbar partial integration. will be removed later


git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@443 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2007-09-19 21:00:58 +00:00
parent 830064215f
commit d1efb37060
13 changed files with 111 additions and 104 deletions

View File

@ -96,7 +96,8 @@ void PresetLoader::rescan()
}
// Push all entries in order from the file set to the file entries member (which is an indexed vector)
for (std::set<std::string>::iterator pos = alphaSortedFileSet.begin(); pos != alphaSortedFileSet.end();++pos)
for (std::set<std::string>::iterator pos = alphaSortedFileSet.begin();
pos != alphaSortedFileSet.end();++pos)
m_entries.push_back(*pos);
}
@ -107,7 +108,7 @@ std::auto_ptr<Preset> PresetLoader::loadPreset(unsigned int index, const PresetI
assert(index >= 0);
assert(index < m_entries.size());
// Return a new pointer to a present
// Return a new autopointer to a present
return std::auto_ptr<Preset>(new Preset(m_entries[index], presetInputs, presetOutputs));
}