mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed editor edit box function
This commit is contained in:
parent
b49e4da20b
commit
d15f0cfcf2
|
@ -208,6 +208,8 @@ int ui_do_edit_box(void *id, const RECT *rect, char *str, int str_size, float fo
|
|||
|
||||
for(int i = 0; i < inp_num_events(); i++)
|
||||
{
|
||||
len = strlen(str);
|
||||
|
||||
INPUT_EVENT e = inp_get_event(i);
|
||||
char c = e.ch;
|
||||
int k = e.key;
|
||||
|
|
Loading…
Reference in a new issue