summaryrefslogtreecommitdiff
path: root/audio/denemo/files/patch-src__importmusicxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/denemo/files/patch-src__importmusicxml.c')
-rw-r--r--audio/denemo/files/patch-src__importmusicxml.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/denemo/files/patch-src__importmusicxml.c b/audio/denemo/files/patch-src__importmusicxml.c
new file mode 100644
index 000000000000..56d6eee056e5
--- /dev/null
+++ b/audio/denemo/files/patch-src__importmusicxml.c
@@ -0,0 +1,11 @@
+--- src/importmusicxml.c.orig
++++ src/importmusicxml.c
+@@ -392,7 +392,7 @@
+ duration -= divisions/32;
+ return get_rest_for_duration(ret, duration, divisions);
+ } else if (duration==0)
+- return;
++ return -1;
+
+ g_string_append(ret, "\n;Duration of rest not recognized\n");
+ }