aboutsummaryrefslogtreecommitdiff
path: root/sherlock_nk.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-15 11:24:38 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-11-15 11:24:38 +0100
commit26ac34c803be2b7808cb8172f4e16f491c8154a3 (patch)
tree5ac62b14173fc59c7b99f9c3f8c67653082adf2e /sherlock_nk.c
parentefafd15669088308f554939265a5d3879b2d0750 (diff)
downloadsherlock.lv2-26ac34c803be2b7808cb8172f4e16f491c8154a3.tar.xz
fix padding.
Diffstat (limited to 'sherlock_nk.c')
-rw-r--r--sherlock_nk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sherlock_nk.c b/sherlock_nk.c
index 952e09d..ae7bd11 100644
--- a/sherlock_nk.c
+++ b/sherlock_nk.c
@@ -187,7 +187,7 @@ void
_clear(plughandle_t *handle)
{
atom_ser_t *ser = &handle->ser;
- struct nk_str *str = &handle->edit.string;
+ struct nk_str *str = &handle->str;
if(_ser_realloc(ser, 1024))
{
@@ -313,7 +313,7 @@ instantiate(const LV2UI_Descriptor *descriptor, const char *plugin_uri,
_clear(handle);
_discover(handle);
- nk_textedit_init_default(&handle->edit);
+ nk_str_init_default(&handle->str);
handle->sratom = sratom_new(handle->map);
sratom_set_pretty_numbers(handle->sratom, false);
@@ -329,7 +329,7 @@ cleanup(LV2UI_Handle instance)
sratom_free(handle->sratom);
- nk_textedit_free(&handle->edit);
+ nk_str_free(&handle->str);
atom_ser_t *ser = &handle->ser;
_ser_free(ser);