Skip to content

Commit 1fb9a81

Browse files
update for minor RGFW change for OS indpendent event
1 parent 7a28765 commit 1fb9a81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

RGFW-buffer/RGFW.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Key :: enum u32 {
242242
};
243243

244244
Event :: struct {
245-
keyName : cstring, /*!< key name of event */
245+
keyName : [16]i8, /*!< key name of event */
246246
/*! drag and drop data */
247247
/* 260 max paths with a max length of 260 */
248248
droppedFiles : [MAX_DROPS][MAX_PATH]i8,

RGFW/RGFW.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Key :: enum u32 {
242242
};
243243

244244
Event :: struct {
245-
keyName : cstring, /*!< key name of event */
245+
keyName : [16]i8, /*!< key name of event */
246246
/*! drag and drop data */
247247
/* 260 max paths with a max length of 260 */
248248
droppedFiles : [MAX_DROPS][MAX_PATH]i8,

0 commit comments

Comments
 (0)