diff --git a/src/wl_window.c b/src/wl_window.c index 2f6d17f2..2e3c6843 100644 --- a/src/wl_window.c +++ b/src/wl_window.c @@ -1866,7 +1866,7 @@ const char* _glfwPlatformGetClipboardString(void) // XXX: this is a huge hack, this function shouldn’t be synchronous! handleEvents(NULL); - while (1) + for (;;) { // Grow the clipboard if we need to paste something bigger, there is no // shrink operation yet.