Browse Source

dialog: fixed typo in docs.

Ryan C. Gordon 11 months ago
parent
commit
daf5009395
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/SDL3/SDL_dialog.h

+ 3 - 3
include/SDL3/SDL_dialog.h

@@ -115,7 +115,7 @@ typedef void(SDLCALL *SDL_DialogFileCallback)(void *userdata, const char * const
  * don't yet exist.
  *
  * On Linux, dialogs may require XDG Portals, which requires DBus, which
- * requires and event-handling loop. Apps that do not use SDL to handle events
+ * requires an event-handling loop. Apps that do not use SDL to handle events
  * should add a call to SDL_PumpEvents in their main loop.
  *
  * \param callback An SDL_DialogFileCallback to be invoked when the user
@@ -171,7 +171,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_ShowOpenFileDialog(SDL_DialogFileCallback c
  * The chosen file may or may not already exist.
  *
  * On Linux, dialogs may require XDG Portals, which requires DBus, which
- * requires and event-handling loop. Apps that do not use SDL to handle events
+ * requires an event-handling loop. Apps that do not use SDL to handle events
  * should add a call to SDL_PumpEvents in their main loop.
  *
  * \param callback An SDL_DialogFileCallback to be invoked when the user
@@ -225,7 +225,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_ShowSaveFileDialog(SDL_DialogFileCallback c
  * don't yet exist.
  *
  * On Linux, dialogs may require XDG Portals, which requires DBus, which
- * requires and event-handling loop. Apps that do not use SDL to handle events
+ * requires an event-handling loop. Apps that do not use SDL to handle events
  * should add a call to SDL_PumpEvents in their main loop.
  *
  * \param callback An SDL_DialogFileCallback to be invoked when the user