summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-12-01 21:04:07 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-12-01 21:04:07 +0100
commit56373380bfed4bef3e5ae4493e0e622806529ed6 (patch)
treece5be41873875819a43dc345a8620a9780545fb4 /src
parent020900458c11838faae36c134da14945d93424a7 (diff)
Protect file string.
Diffstat (limited to 'src')
-rw-r--r--src/drumkitparser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drumkitparser.cc b/src/drumkitparser.cc
index d838346..1b7ecaf 100644
--- a/src/drumkitparser.cc
+++ b/src/drumkitparser.cc
@@ -44,6 +44,8 @@ DrumKitParser::DrumKitParser(const std::string &kitfile, DrumKit &k)
// DEBUG(kitparser, "Parsing drumkit in %s\n", kitfile.c_str());
if(!fd) return;
+
+ kit._file = kitfile;
}
DrumKitParser::~DrumKitParser()