aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-07 08:24:55 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-07 08:24:55 +0100
commit16b0ce3748f1b3ea788bbaf4caaeb342a8f58d6f (patch)
tree32f0b62f1b4c21d8f7c38bbcda9658e468a28113 /include
parentb3b9e8c2b8068ce2566a9be2a813b2f04088f3ce (diff)
Use char array for text entered str, reset text fields on deinit
Diffstat (limited to 'include')
-rw-r--r--include/mgl/window/event.h2
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 {