aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 685aa908..161656b5 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.4939
+0.1.4941
diff --git a/plugins/synthpod_common_nk.c b/plugins/synthpod_common_nk.c
index 74bf7608..9896ef18 100644
--- a/plugins/synthpod_common_nk.c
+++ b/plugins/synthpod_common_nk.c
@@ -3803,8 +3803,8 @@ _widget_string(plughandle_t *handle, struct nk_context *ctx,
if(has_shift_enter)
#endif
flags |= NK_EDIT_SIG_ENTER;
- const nk_flags state = nk_edit_buffer(ctx, flags,
- editor, nk_filter_default);
+ const nk_flags state = nk_edit_buffer(ctx, flags, editor, nk_filter_default);
+ _textedit_zero_terminate(editor);
if(state & NK_EDIT_COMMITED)
commited = true;
#if 0 //FIXME