Skip to content

Commit 417ed7f

Browse files
maia-sslouken
authored andcommitted
Fix references in docs
1 parent 0aa319e commit 417ed7f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/SDL3/SDL_events.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* at all).
3939
*
4040
* There is other forms of control, too: SDL_PeepEvents() has more
41-
* functionality at the cost of more complexity, and SDL_WaitEvents() can
41+
* functionality at the cost of more complexity, and SDL_WaitEvent() can
4242
* block the process until something interesting happens, which might be
4343
* beneficial for certain types of programs on low-power hardware. One may
4444
* also call SDL_AddEventWatch() to set a callback when new events arrive.

include/SDL3/SDL_tray.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ extern SDL_DECLSPEC SDL_TrayMenu *SDLCALL SDL_GetTrayMenu(SDL_Tray *tray);
204204
/**
205205
* Gets a previously created tray entry submenu.
206206
*
207-
* You should have called SDL_CreateTraySubenu() on the entry object. This
207+
* You should have called SDL_CreateTraySubmenu() on the entry object. This
208208
* function allows you to fetch it again later.
209209
*
210210
* This function does the same thing as SDL_GetTrayMenu(), except that it
@@ -317,7 +317,7 @@ extern SDL_DECLSPEC const char *SDLCALL SDL_GetTrayEntryLabel(SDL_TrayEntry *ent
317317
* The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.
318318
*
319319
* \param entry the entry to be updated.
320-
* \param checked SDL_TRUE if the entry should be checked; SDL_FALSE
320+
* \param checked true if the entry should be checked; false
321321
* otherwise.
322322
*
323323
* \since This function is available since SDL 3.1.8.
@@ -334,7 +334,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryChecked(SDL_TrayEntry *entry, b
334334
* The entry must have been created with the SDL_TRAYENTRY_CHECKBOX flag.
335335
*
336336
* \param entry the entry to be read.
337-
* \returns SDL_TRUE if the entry is checked; SDL_FALSE otherwise.
337+
* \returns true if the entry is checked; false otherwise.
338338
*
339339
* \since This function is available since SDL 3.1.8.
340340
*
@@ -348,7 +348,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GetTrayEntryChecked(SDL_TrayEntry *entry);
348348
* Sets whether or not an entry is enabled.
349349
*
350350
* \param entry the entry to be updated.
351-
* \param enabled SDL_TRUE if the entry should be enabled; SDL_FALSE
351+
* \param enabled true if the entry should be enabled; false
352352
* otherwise.
353353
*
354354
* \since This function is available since SDL 3.1.8.
@@ -363,7 +363,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_SetTrayEntryEnabled(SDL_TrayEntry *entry, b
363363
* Gets whether or not an entry is enabled.
364364
*
365365
* \param entry the entry to be read.
366-
* \returns SDL_TRUE if the entry is enabled; SDL_FALSE otherwise.
366+
* \returns true if the entry is enabled; false otherwise.
367367
*
368368
* \since This function is available since SDL 3.1.8.
369369
*

0 commit comments

Comments
 (0)