Skip to content

Commit 970de07

Browse files
andy5995icculus
authored andcommitted
docs: grammar fixes and ref fix (NET_Init)
1 parent 688bd9e commit 970de07

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/SDL3_net/SDL_net.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ extern SDL_DECLSPEC bool SDLCALL NET_Init(void);
111111
*
112112
* \since This function is available since SDL_Net 3.0.0.
113113
*
114-
* \sa NET_Quit
114+
* \sa NET_Init
115115
*/
116116
extern SDL_DECLSPEC void SDLCALL NET_Quit(void);
117117

@@ -163,7 +163,7 @@ extern SDL_DECLSPEC NET_Address * SDLCALL NET_ResolveHostname(const char *host);
163163
* Block until an address is resolved.
164164
*
165165
* The NET_Address objects returned by NET_ResolveHostname take time to do
166-
* their work, so it is does so _asynchronously_ instead of making your
166+
* their work, so it does so _asynchronously_ instead of making your
167167
* program wait an indefinite amount of time.
168168
*
169169
* However, if you want your program to sleep until the address resolution is
@@ -205,7 +205,7 @@ extern SDL_DECLSPEC int SDLCALL NET_WaitUntilResolved(NET_Address *address, Sint
205205
* Check if an address is resolved, without blocking.
206206
*
207207
* The NET_Address objects returned by NET_ResolveHostname take time to do
208-
* their work, so it is does so _asynchronously_ instead of making your
208+
* their work, so it does so _asynchronously_ instead of making your
209209
* program wait an indefinite amount of time.
210210
*
211211
* This function allows you to check the progress of that work without
@@ -485,7 +485,7 @@ extern SDL_DECLSPEC NET_StreamSocket * SDLCALL NET_CreateClient(NET_Address *add
485485
* Block until a stream socket has connected to a server.
486486
*
487487
* The NET_StreamSocket objects returned by NET_CreateClient take time to do
488-
* their work, so it is does so _asynchronously_ instead of making your
488+
* their work, so it does so _asynchronously_ instead of making your
489489
* program wait an indefinite amount of time.
490490
*
491491
* However, if you want your program to sleep until the connection is
@@ -663,7 +663,7 @@ extern SDL_DECLSPEC NET_Address * SDLCALL NET_GetStreamSocketAddress(NET_StreamS
663663
* Check if a stream socket is connected, without blocking.
664664
*
665665
* The NET_StreamSocket objects returned by NET_CreateClient take time to do
666-
* negotiate a connection to a server, so it is does so _asynchronously_
666+
* negotiate a connection to a server, so it does so _asynchronously_
667667
* instead of making your program wait an indefinite amount of time.
668668
*
669669
* This function allows you to check the progress of that work without

0 commit comments

Comments
 (0)