From f403029c00f653c81e3695991f90dc7497e5ab9f Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 26 May 2026 09:32:58 -0400
Subject: [PATCH] include: fixed typos.
Fixes #170.
(cherry picked from commit d86c0965a057fdd198efbf23d6f680f1767d91bd)
---
SDL_net.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/SDL_net.h b/SDL_net.h
index 16c545c9..613f4202 100644
--- a/SDL_net.h
+++ b/SDL_net.h
@@ -333,7 +333,7 @@ extern DECLSPEC void SDLCALL SDLNet_TCP_Close(TCPsocket sock);
/* UDP network API */
-/* The maximum channels on a a UDP socket */
+/* The maximum channels on a UDP socket */
#define SDLNET_MAX_UDPCHANNELS 32
/* The maximum addresses bound to a single UDP socket channel */
#define SDLNET_MAX_UDPADDRESSES 4
@@ -511,7 +511,7 @@ extern DECLSPEC void SDLCALL SDLNet_UDP_SetPacketLoss(UDPsocket sock, int percen
*
* If `channel` is -1, then the first unbound channel that has not yet been
* bound to the maximum number of addresses will be bound with the given
- * address as it's primary address.
+ * address as its primary address.
*
* If the channel is already bound, this new address will be added to the list
* of valid source addresses for packets arriving on the channel. If the
@@ -533,7 +533,7 @@ extern DECLSPEC int SDLCALL SDLNet_UDP_Bind(UDPsocket sock, int channel, const I
/**
* Unbind all addresses from the given channel.
*
- * Note that UDP sockets at the platform layer "bind" to a nework port number,
+ * Note that UDP sockets at the platform layer "bind" to a network port number,
* but SDL_net's UDP sockets also "bind" to a "channel" on top of that, with
* SDLNet_UDP_Bind(). But the term is used for both.
*
@@ -563,7 +563,7 @@ extern DECLSPEC void SDLCALL SDLNet_UDP_Unbind(UDPsocket sock, int channel);
extern DECLSPEC IPaddress * SDLCALL SDLNet_UDP_GetPeerAddress(UDPsocket sock, int channel);
/**
- * Send a vector of packets to the the channels specified within the packet.
+ * Send a vector of packets to the channels specified within the packet.
*
* If the channel specified in the packet is -1, the packet will be sent to
* the address in the `src` member of the packet.