aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 21:59:50 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 21:59:50 +0200
commit948ece23ae448600250f2858e70d8e95fa7cfc37 (patch)
tree457a12dfefb79938b3fc45b27ef9a6848471e64c
parentfbdf205953e230bad8b8e06d76d17abde07f6d78 (diff)
downloadsynthpod-948ece23ae448600250f2858e70d8e95fa7cfc37.tar.xz
nk: include render_cairo.h instead of render.h.
-rw-r--r--VERSION2
-rw-r--r--plugins/synthpod_common_nk.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 0ee42b3e..e3f81c50 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.6469
+0.1.6475
diff --git a/plugins/synthpod_common_nk.c b/plugins/synthpod_common_nk.c
index 8664a179..574ca782 100644
--- a/plugins/synthpod_common_nk.c
+++ b/plugins/synthpod_common_nk.c
@@ -54,7 +54,7 @@
#if defined(USE_CAIRO_CANVAS)
# include <canvas.lv2/canvas.h>
# include <canvas.lv2/forge.h>
-# include <canvas.lv2/render.h>
+# include <canvas.lv2/render_cairo.h>
#endif
#define SEARCH_BUF_MAX 128
@@ -8924,7 +8924,7 @@ _add_automation(plughandle_t *handle, const LV2_Atom_Object *obj)
oauto->a = src_min ? src_min->body : 0x0;
oauto->b = src_max ? src_max->body : 0x7f;
- strncpy(oauto->path, LV2_ATOM_BODY_CONST(osc_path), 128); //FIXME
+ strncpy(oauto->path, LV2_ATOM_BODY_CONST(osc_path), sizeof(oauto->path) - 1);
}
}