Просмотр исходного кода

Revert "Clarified SDL_GetClipboardText() documentation"

This reverts commit db573de24aad60ce98972dd448d9d7affaca00e8.
Sam Lantinga 1 месяц назад
Родитель
Сommit
de73a4745f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      include/SDL3/SDL_clipboard.h

+ 1 - 1
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, an empty string on failure or NULL if out of memory; call
+ * \returns the clipboard text on success or an empty string on failure; call
  *          SDL_GetError() for more information. This should be freed with
  *          SDL_free() when it is no longer needed.
  *