mirror of
https://github.com/vale981/openAV-Luppp
synced 2025-03-04 16:51:37 -05:00
Clean up
This commit is contained in:
parent
40d23e1b0d
commit
da42a86ad9
1 changed files with 1 additions and 3 deletions
|
@ -262,9 +262,7 @@ int DiskReader::loadSample( int track, int scene, string path )
|
|||
bool loadableBuffer = false;
|
||||
|
||||
// retrieve sample metadata from sample.cfg using filename as key
|
||||
//char* tmp = strdup( path.c_str() );
|
||||
std::string baseName = path.substr(path.find_last_of("/\\") + 1);
|
||||
//char* baseName = basename( tmp );
|
||||
const auto baseName = path.substr(path.find_last_of("/\\") + 1);
|
||||
//cout << "tmp " << tmp << " baseName " << baseName << endl;
|
||||
ab->setName( baseName );
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue