From cca6b521208bcdc693dffc28922713064d647d6b Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 29 Mar 2012 13:31:19 +0200 Subject: [PATCH] Formatting. --- tests/clipboard.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/clipboard.c b/tests/clipboard.c index 5388ba4d..0065e0a6 100644 --- a/tests/clipboard.c +++ b/tests/clipboard.c @@ -60,12 +60,13 @@ static void key_callback(GLFWwindow window, int key, int action) { char buffer[4096]; size_t size; + printf("Paste test.\n"); + size = glfwGetClipboardData(buffer, sizeof(buffer), GLFW_CLIPBOARD_FORMAT_STRING); if (size >= sizeof(buffer)) - { printf("Buffer wasn't big enough to hold clipboard data.\n"); - } + printf("[%lu]: %s\n", (unsigned long) size, buffer); } break;