aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index f1fad72..ee632a7 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -292,7 +292,7 @@ int main(int argc, char **argv) {
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) {
- if(mgl_window_get_clipboard(&window, clipboard_callback, NULL)) {
+ if(mgl_window_get_clipboard(&window, clipboard_callback, NULL, MGL_CLIPBOARD_TYPE_ALL)) {
fprintf(stderr, "Successfully copied clipboard!\n");
} else {
fprintf(stderr, "Failed to copy clipboard!\n");