From 3a2fbb13a8571832fd8b7bd7b3e378b3f38814b2 Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 21 Dec 2008 19:24:59 +0000 Subject: Oups, stray NULL value in the code... --- src/drumkitparser.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/drumkitparser.cc') 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()); -- cgit v1.2.3