aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/main.c b/tests/main.c
index a9aebec..cee3ec7 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -256,8 +256,9 @@ int main(int argc, char **argv) {
}
case MGL_EVENT_KEY_PRESSED: {
if(event.key.code == MGL_KEY_C) {
- mgl_window_set_clipboard(&window, "hello", 5);
- fprintf(stderr, "Copied 'hello' to the clipboard\n");
+ const char *str = "東京都, Tōkyō-to";
+ mgl_window_set_clipboard(&window, str, strlen(str));
+ fprintf(stderr, "Copied '%s' to the clipboard\n", str);
} else if(event.key.code == MGL_KEY_V) {
char *str;
size_t size;