Sfoglia il codice sorgente

dialog: Clean up filter param documentation.

The apostrophe was incorrect, but the type is auto linked in the wiki anyhow,
so don't write it out ourselves.
Ryan C. Gordon 11 mesi fa
parent
commit
e770b4e266
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      include/SDL3/SDL_dialog.h

+ 2 - 2
include/SDL3/SDL_dialog.h

@@ -125,7 +125,7 @@ typedef void (SDLCALL *SDL_DialogFileCallback)(void *userdata, const char * cons
  *                 it will be invoked.
  * \param window the window that the dialog should be modal for, may be NULL.
  *               Not all platforms support this option.
- * \param filters a list of SDL_DialogFileFilter's, may be NULL. Not all
+ * \param filters a list of filters, may be NULL. Not all
  *                platforms support this option, and platforms that do support
  *                it may allow the user to ignore the filters.
  * \param nfilters the number of filters. Ignored if filters is NULL.
@@ -172,7 +172,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_ShowOpenFileDialog(SDL_DialogFileCallback c
  *                 it will be invoked.
  * \param window the window that the dialog should be modal for, may be NULL.
  *               Not all platforms support this option.
- * \param filters a list of SDL_DialogFileFilter's, may be NULL. Not all
+ * \param filters a list of filters, may be NULL. Not all
  *                platforms support this option, and platforms that do support
  *                it may allow the user to ignore the filters.
  * \param nfilters the number of filters. Ignored if filters is NULL.