aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2017-11-18 21:28:45 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2017-11-18 21:28:45 +0100
commit6a16eebf079b396badbb4cb331900508d38bda36 (patch)
treec2fd3bf1913dfcd288e98512d078afd9bdac65b1
parent4c9c7e0de4424acb18c260bb010c8353f6e07ab5 (diff)
downloadnuk.lv2-6a16eebf079b396badbb4cb331900508d38bda36.zip
nuk.lv2-6a16eebf079b396badbb4cb331900508d38bda36.tar.gz
nuk.lv2-6a16eebf079b396badbb4cb331900508d38bda36.tar.bz2
nuk.lv2-6a16eebf079b396badbb4cb331900508d38bda36.tar.xz
nk: remove superfluous nk api call.
-rw-r--r--VERSION2
-rw-r--r--nuk_ui.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 0ccf3e3..8eea1dc 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.2867
+0.1.2873
diff --git a/nuk_ui.c b/nuk_ui.c
index 30189a0..b75fbf2 100644
--- a/nuk_ui.c
+++ b/nuk_ui.c
@@ -172,7 +172,6 @@ _expose(struct nk_context *ctx, struct nk_rect wbounds, void *data)
if(nk_begin(ctx, window_name, wbounds, NK_WINDOW_CLOSABLE | NK_WINDOW_NO_SCROLLBAR))
{
const struct nk_panel *root = nk_window_get_panel(ctx);
- nk_window_set_bounds(ctx, window_name, wbounds);
const nk_flags nuk_f = NK_WINDOW_BORDER | NK_WINDOW_TITLE;
const float nuk_h = root->bounds.h - root->footer_height;