aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-29 14:49:56 +0200
committerDavid Robillard <d@drobilla.net>2019-07-24 01:02:52 +0200
commit1deb98f57f7b597be941fd944a91f2daa1a1f10a (patch)
tree12420662e97aae6c71e6ded7709f23a5ce973b70 /test
parentfd7d496d4c5dcd9377ce945989ce05f464dc3afc (diff)
Rename PuglEventKey::utf8 to "string" with char type
This matches Gtk and is generally less annoying to work with.
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_utils.h b/test/test_utils.h
index d92d53c..285cc83 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -104,13 +104,13 @@ printEvent(const PuglEvent* event, const char* prefix)
return fprintf(stderr, "%sKey %u (char U+%04X special U+%04X) press (%s)%s\n",
prefix,
event->key.keycode, event->key.character, event->key.special,
- event->key.utf8, event->key.filter ? " (filtered)" : "");
+ event->key.string, event->key.filter ? " (filtered)" : "");
case PUGL_KEY_RELEASE:
return fprintf(stderr, "%sKey %u (char U+%04X special U+%04X) release (%s)%s\n",
prefix,
event->key.keycode, event->key.character, event->key.special,
- event->key.utf8, event->key.filter ? " (filtered)" : "");
+ event->key.string, event->key.filter ? " (filtered)" : "");
case PUGL_BUTTON_PRESS:
case PUGL_BUTTON_RELEASE:
return (fprintf(stderr, "%sMouse %d %s at %f,%f ",