summaryrefslogtreecommitdiff
path: root/src/instrumentparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/instrumentparser.cc')
-rw-r--r--src/instrumentparser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/instrumentparser.cc b/src/instrumentparser.cc
index 0889d74..8d097e9 100644
--- a/src/instrumentparser.cc
+++ b/src/instrumentparser.cc
@@ -52,8 +52,8 @@ void InstrumentParser::startTag(std::string name,
std::map<std::string, std::string> attr)
{
if(name == "instrument") {
- if(attr.find("name") != attr.end())
- instrument._name = attr["name"];
+ if(attr.find("id") != attr.end())
+ instrument._id = attr["id"];
if(attr.find("description") != attr.end())
instrument._description = attr["description"];