aboutsummaryrefslogtreecommitdiffstats
path: root/ext/state.lv2
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/state.lv2
parent363810887660d2ddef18a90cb43003ea3f0b89e3 (diff)
downloadlv2-50a323df04a85993f0e296e07ce26ed66f883cc4.tar.xz
Fix invalid XML (lack of) escapes.
Diffstat (limited to 'ext/state.lv2')
-rw-r--r--ext/state.lv2/state.ttl4
1 files changed, 2 insertions, 2 deletions
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.