aboutsummaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-13 21:19:12 +0000
committerDavid Robillard <d@drobilla.net>2011-11-13 21:19:12 +0000
commit50a323df04a85993f0e296e07ce26ed66f883cc4 (patch)
tree499b6f75bb2cc7d6b3e4912b0ace65e249cc43fe /ext
parent363810887660d2ddef18a90cb43003ea3f0b89e3 (diff)
downloadlv2-50a323df04a85993f0e296e07ce26ed66f883cc4.tar.xz
Fix invalid XML (lack of) escapes.
Diffstat (limited to 'ext')
-rw-r--r--ext/persist.lv2/persist.ttl2
-rw-r--r--ext/state.lv2/state.ttl4
-rw-r--r--ext/time.lv2/time.ttl2
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/persist.lv2/persist.ttl b/ext/persist.lv2/persist.ttl
index 1c02cc2..697b931 100644
--- a/ext/persist.lv2/persist.ttl
+++ b/ext/persist.lv2/persist.ttl
@@ -147,7 +147,7 @@ int store_callback(void* callback_data,
uint32_t type,
uint32_t flags)
{
- if ((flags & LV2_PERSIST_IS_POD)) {
+ if ((flags &amp; LV2_PERSIST_IS_POD)) {
/* Keeping state in memory only, if disk was involved then
LV2_PERSIST_IS_PORTABLE would have to be checked as well.
*/
diff --git a/ext/state.lv2/state.ttl b/ext/state.lv2/state.ttl
index 6456520..9d8305e 100644
--- a/ext/state.lv2/state.ttl
+++ b/ext/state.lv2/state.ttl
@@ -134,7 +134,7 @@ const void* my_extension_data(const char* uri)
{
static const LV2_State_Interface state_iface = { my_save, my_restore };
if (!strcmp(uri, "http://lv2plug.in/ns/ext/state#Interface")) {
- return &state_iface;
+ return &amp;state_iface;
}
}
</pre>
@@ -148,7 +148,7 @@ int store_callback(void* handle,
uint32_t type,
uint32_t flags)
{
- if ((flags & LV2_STATE_IS_POD)) {
+ if ((flags &amp; LV2_STATE_IS_POD)) {
/* We only care about POD since we're keeping state in memory only.
If this was for disk or network storage/transmission,
LV2_STATE_IS_PORTABLE would have to be checked as well.
diff --git a/ext/time.lv2/time.ttl b/ext/time.lv2/time.ttl
index bf57402..4823d07 100644
--- a/ext/time.lv2/time.ttl
+++ b/ext/time.lv2/time.ttl
@@ -47,7 +47,7 @@ used as the type field of an event to indicate that the event payload is an
LV2_Time_Positon struct. Plugins SHOULD indicate that a port supports time
information using the ev:supports predicate, e.g.:
<pre class="turtle-code">
-<plugin> lv2:port [
+&lt;plugin&gt; lv2:port [
a lv2:InputPort , ev:EventPort ;
lv2:name "control" ;
lv2:index 0 ;