summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorterminator356 <termtech@rogers.com>2014-01-06 01:06:11 -0500
committerterminator356 <termtech@rogers.com>2014-01-06 01:06:11 -0500
commit42ecd9fd47fe44c999bfd7f4f051179806735b0a (patch)
treeb98b34938d5e254b6aa56315ee09908bd0a9713c /muse2/muse
parent214fefaa8451edfe1ebef4bd1fb2cc38839001c6 (diff)
Add and fix Roland SD-50 .idf by Patrick.
Add GM2 .idf file created by Tim. Fixed couple of improper "&apos" xml substitutions in xml.cpp
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/xml.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/xml.cpp b/muse2/muse/xml.cpp
index 6f79c3e6..c09a1da5 100644
--- a/muse2/muse/xml.cpp
+++ b/muse2/muse/xml.cpp
@@ -165,7 +165,7 @@ void Xml::stoken()
else if (strcmp(entity, "gt") == 0)
c = '>';
else if (strcmp(entity, "apos") == 0)
- c = '\\';
+ c = '\'';
else
entity[k] = c;
break;
@@ -400,7 +400,7 @@ Xml::Token Xml::parse()
else if (strcmp(name, "gt") == 0)
c = '>';
else if (strcmp(name, "apos") == 0)
- c = '\\';
+ c = '\'';
else if (strcmp(name, "quot") == 0)
c = '"';
else if (strcmp(name, "amp") == 0)
@@ -660,7 +660,7 @@ void Xml::strTag(int level, const char* name, const char* val)
case '&': fprintf(f, "&amp;"); break;
case '<': fprintf(f, "&lt;"); break;
case '>': fprintf(f, "&gt;"); break;
- case '\\': fprintf(f, "&apos;"); break;
+ case '\'': fprintf(f, "&apos;"); break;
case '"': fprintf(f, "&quot;"); break;
default: fputc(*val, f); break;
}