@@ -8383,7 +8383,7 @@ nk_utf_decode(const char *c, nk_rune *u, int clen)
83838383 *u = NK_UTF_INVALID;
83848384
83858385 udecoded = nk_utf_decode_byte(c[0], &len);
8386- if (!NK_BETWEEN(len, 1, NK_UTF_SIZE))
8386+ if (!NK_BETWEEN(len, 1, NK_UTF_SIZE+1)) /* +1 because NK_BETWEEN uses strict upper bound ((a) <= (x) && (x) < (b)) */
83878387 return 1;
83888388
83898389 for (i = 1, j = 1; i < clen && j < len; ++i, ++j) {
@@ -20953,7 +20953,7 @@ nk_window_is_hovered(const struct nk_context *ctx)
2095320953 return 0;
2095420954 else {
2095520955 struct nk_rect actual_bounds = ctx->current->bounds;
20956- if (ctx->begin ->flags & NK_WINDOW_MINIMIZED) {
20956+ if (ctx->current ->flags & NK_WINDOW_MINIMIZED) {
2095720957 actual_bounds.h = ctx->current->layout->header_height;
2095820958 }
2095920959 return nk_input_is_mouse_hovering_rect(&ctx->input, actual_bounds);
@@ -30716,6 +30716,8 @@ nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args)
3071630716/// - [y]: Minor version with non-breaking API and library changes
3071730717/// - [z]: Patch version with no direct changes to the API
3071830718///
30719+ /// - 2025/09/12 (4.12.8) - Fix nk_window_is_hovered to use current window flags
30720+ - Fix nk_utf_decode length check (allow len == NK_UTF_SIZE)
3071930721/// - 2025/04/06 (4.12.7) - Fix text input navigation and mouse scrolling
3072030722/// - 2025/03/29 (4.12.6) - Fix unitialized data in nk_input_char
3072130723/// - 2025/03/05 (4.12.5) - Fix scrolling knob also scrolling parent window, remove dead code
0 commit comments