diff options
author | quou <quou@disroot.org> | 2025-01-14 22:20:35 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-14 22:20:35 +1100 |
commit | 314dcf65a3aa874d7e406c67a8079def7d1b379a (patch) | |
tree | 7b11210179afb477cda75843a29a9fd96c516253 | |
parent | b759bfe01cc0ac065b776231e4ac3210832e6b56 (diff) |
fix input buffer size not being set
-rw-r--r-- | ui.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1007,6 +1007,7 @@ void UI::Input::set_text(const char* t) { if (buf) heap_free(ui->heap, buf); buf = nb; + buf_size = l; } string_copy(buf, t); } |