diff options
author | David Robillard <d@drobilla.net> | 2019-06-29 14:49:56 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-24 01:02:52 +0200 |
commit | 1deb98f57f7b597be941fd944a91f2daa1a1f10a (patch) | |
tree | 12420662e97aae6c71e6ded7709f23a5ce973b70 /pugl/pugl_osx.m | |
parent | fd7d496d4c5dcd9377ce945989ce05f464dc3afc (diff) | |
download | pugl-1deb98f57f7b597be941fd944a91f2daa1a1f10a.tar.gz pugl-1deb98f57f7b597be941fd944a91f2daa1a1f10a.tar.bz2 pugl-1deb98f57f7b597be941fd944a91f2daa1a1f10a.zip |
Rename PuglEventKey::utf8 to "string" with char type
This matches Gtk and is generally less annoying to work with.
Diffstat (limited to 'pugl/pugl_osx.m')
-rw-r--r-- | pugl/pugl_osx.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m index cdaa131..0546eec 100644 --- a/pugl/pugl_osx.m +++ b/pugl/pugl_osx.m @@ -439,7 +439,7 @@ handleCrossing(PuglOpenGLView* view, NSEvent* event, const PuglEventType type) { 0, 0, 0, 0, 0, 0, 0, 0 }, false }; - strncpy((char*)ev.utf8, str, 8); + strncpy(ev.string, str, 8); puglDispatchEvent(puglview, (const PuglEvent*)&ev); } @@ -464,7 +464,7 @@ handleCrossing(PuglOpenGLView* view, NSEvent* event, const PuglEventType type) { 0, 0, 0, 0, 0, 0, 0, 0 }, false, }; - strncpy((char*)ev.utf8, str, 8); + strncpy(ev.string, str, 8); puglDispatchEvent(puglview, (const PuglEvent*)&ev); } |