aboutsummaryrefslogtreecommitdiff
path: root/midi_inspector_nk.c
diff options
context:
space:
mode:
Diffstat (limited to 'midi_inspector_nk.c')
-rw-r--r--midi_inspector_nk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/midi_inspector_nk.c b/midi_inspector_nk.c
index a0548f3..df39f30 100644
--- a/midi_inspector_nk.c
+++ b/midi_inspector_nk.c
@@ -475,11 +475,12 @@ _midi_inspector_expose(struct nk_context *ctx, struct nk_rect wbounds, void *dat
_empty(ctx);
}
}
+ counter += 1;
}
-
- counter += 1;
}
+ handle->count = counter;
+
const struct nk_panel *panel = nk_window_get_panel(ctx);
if(handle->bottom)
{