diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-07 08:24:55 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-07 08:24:55 +0100 |
commit | 16b0ce3748f1b3ea788bbaf4caaeb342a8f58d6f (patch) | |
tree | 32f0b62f1b4c21d8f7c38bbcda9658e468a28113 /include | |
parent | b3b9e8c2b8068ce2566a9be2a813b2f04088f3ce (diff) |
Use char array for text entered str, reset text fields on deinit
Diffstat (limited to 'include')
-rw-r--r-- | include/mgl/window/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/window/event.h b/include/mgl/window/event.h index 4a3ba71..a47568b 100644 --- a/include/mgl/window/event.h +++ b/include/mgl/window/event.h @@ -15,7 +15,7 @@ typedef struct { typedef struct { uint32_t codepoint; int size; - unsigned char str[5]; /* utf8, null terminated */ + char str[5]; /* utf8, null terminated */ } mgl_text_event; typedef struct { |