From db573de24aad60ce98972dd448d9d7affaca00e8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 1 Feb 2026 09:20:52 -0800 Subject: [PATCH] Clarified SDL_GetClipboardText() documentation Fixes https://github.com/libsdl-org/SDL/issues/14941 --- include/SDL3/SDL_clipboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_clipboard.h b/include/SDL3/SDL_clipboard.h index 696825376a..fd084cc2dd 100644 --- a/include/SDL3/SDL_clipboard.h +++ b/include/SDL3/SDL_clipboard.h @@ -109,7 +109,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetClipboardText(const char *text); * This function returns an empty string if there is not enough memory left * for a copy of the clipboard's content. * - * \returns the clipboard text on success or an empty string on failure; call + * \returns the clipboard text on success, an empty string on failure or NULL if out of memory; call * SDL_GetError() for more information. This should be freed with * SDL_free() when it is no longer needed. *