mirror of
https://github.com/Immediate-Mode-UI/Nuklear.git
synced 2026-12-01 16:56:23 +01:00
Fixed drawing bug inside edit box for UTF text
This commit is contained in:
@@ -14325,7 +14325,7 @@ nk_do_edit(nk_flags *state, struct nk_command_buffer *out,
|
||||
}}
|
||||
} else {
|
||||
/* not active so just draw text */
|
||||
int l = nk_str_len(&edit->string);
|
||||
int l = nk_str_len_char(&edit->string);
|
||||
const char *begin = nk_str_get_const(&edit->string);
|
||||
|
||||
const struct nk_style_item *background;
|
||||
|
||||
Reference in New Issue
Block a user