diff options
author | deva <deva> | 2008-12-21 19:24:59 +0000 |
---|---|---|
committer | deva <deva> | 2008-12-21 19:24:59 +0000 |
commit | 3a2fbb13a8571832fd8b7bd7b3e378b3f38814b2 (patch) | |
tree | 0b3a191a4589352dcc8ecf52b399bc3a5c8f9298 /src/drumkitparser.cc | |
parent | 5dcfbc8bd840dfd60573e038194a43b37ebfc047 (diff) |
Oups, stray NULL value in the code...
Diffstat (limited to 'src/drumkitparser.cc')
-rw-r--r-- | src/drumkitparser.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/drumkitparser.cc b/src/drumkitparser.cc index 3f16dd2..921eefa 100644 --- a/src/drumkitparser.cc +++ b/src/drumkitparser.cc @@ -36,7 +36,6 @@ DrumKitParser::DrumKitParser(std::string kitfile, bool preload) char *split = strrchr(kitfile.c_str(), DIR_SEPERATOR); if(split) { file = split + 1; - split = '\0'; path = kitfile.substr(0, kitfile.length() - file.length()); // All drum samples are relative to the kitfile, so we must chdir there to be able to open them. chdir(path.c_str()); |