@@ -3426,7 +3426,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_utf8strnlen(const char *str, size_t bytes
3426
3426
* Convert an integer into a string.
3427
3427
*
3428
3428
* This requires a radix to specified for string format. Specifying 10
3429
- * produces a decimal number, 16 hexidecimal , etc. Must be in the range of 2
3429
+ * produces a decimal number, 16 hexadecimal , etc. Must be in the range of 2
3430
3430
* to 36.
3431
3431
*
3432
3432
* Note that this function will overflow a buffer if `str` is not large enough
@@ -3454,7 +3454,7 @@ extern SDL_DECLSPEC char * SDLCALL SDL_itoa(int value, char *str, int radix);
3454
3454
* Convert an unsigned integer into a string.
3455
3455
*
3456
3456
* This requires a radix to specified for string format. Specifying 10
3457
- * produces a decimal number, 16 hexidecimal , etc. Must be in the range of 2
3457
+ * produces a decimal number, 16 hexadecimal , etc. Must be in the range of 2
3458
3458
* to 36.
3459
3459
*
3460
3460
* Note that this function will overflow a buffer if `str` is not large enough
@@ -3482,7 +3482,7 @@ extern SDL_DECLSPEC char * SDLCALL SDL_uitoa(unsigned int value, char *str, int
3482
3482
* Convert a long integer into a string.
3483
3483
*
3484
3484
* This requires a radix to specified for string format. Specifying 10
3485
- * produces a decimal number, 16 hexidecimal , etc. Must be in the range of 2
3485
+ * produces a decimal number, 16 hexadecimal , etc. Must be in the range of 2
3486
3486
* to 36.
3487
3487
*
3488
3488
* Note that this function will overflow a buffer if `str` is not large enough
@@ -3510,7 +3510,7 @@ extern SDL_DECLSPEC char * SDLCALL SDL_ltoa(long value, char *str, int radix);
3510
3510
* Convert an unsigned long integer into a string.
3511
3511
*
3512
3512
* This requires a radix to specified for string format. Specifying 10
3513
- * produces a decimal number, 16 hexidecimal , etc. Must be in the range of 2
3513
+ * produces a decimal number, 16 hexadecimal , etc. Must be in the range of 2
3514
3514
* to 36.
3515
3515
*
3516
3516
* Note that this function will overflow a buffer if `str` is not large enough
@@ -3540,7 +3540,7 @@ extern SDL_DECLSPEC char * SDLCALL SDL_ultoa(unsigned long value, char *str, int
3540
3540
* Convert a long long integer into a string.
3541
3541
*
3542
3542
* This requires a radix to specified for string format. Specifying 10
3543
- * produces a decimal number, 16 hexidecimal , etc. Must be in the range of 2
3543
+ * produces a decimal number, 16 hexadecimal , etc. Must be in the range of 2
3544
3544
* to 36.
3545
3545
*
3546
3546
* Note that this function will overflow a buffer if `str` is not large enough
@@ -3568,7 +3568,7 @@ extern SDL_DECLSPEC char * SDLCALL SDL_lltoa(long long value, char *str, int rad
3568
3568
* Convert an unsigned long long integer into a string.
3569
3569
*
3570
3570
* This requires a radix to specified for string format. Specifying 10
3571
- * produces a decimal number, 16 hexidecimal , etc. Must be in the range of 2
3571
+ * produces a decimal number, 16 hexadecimal , etc. Must be in the range of 2
3572
3572
* to 36.
3573
3573
*
3574
3574
* Note that this function will overflow a buffer if `str` is not large enough
@@ -3923,15 +3923,15 @@ extern SDL_DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str
3923
3923
extern SDL_DECLSPEC int SDLCALL SDL_strncasecmp (const char *str1, const char *str2, size_t maxlen);
3924
3924
3925
3925
/* *
3926
- * Searches a string for the first occurence of any character contained in a
3926
+ * Searches a string for the first occurrence of any character contained in a
3927
3927
* breakset, and returns a pointer from the string to that character.
3928
3928
*
3929
3929
* \param str The null-terminated string to be searched. Must not be NULL, and
3930
3930
* must not overlap with `breakset`.
3931
3931
* \param breakset A null-terminated string containing the list of characters
3932
3932
* to look for. Must not be NULL, and must not overlap with
3933
3933
* `str`.
3934
- * \returns A pointer to the location, in str, of the first occurence of a
3934
+ * \returns A pointer to the location, in str, of the first occurrence of a
3935
3935
* character present in the breakset, or NULL if none is found.
3936
3936
*
3937
3937
* \threadsafety It is safe to call this function from any thread.
@@ -5821,7 +5821,7 @@ extern SDL_DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd);
5821
5821
* This function converts text between encodings, reading from and writing to
5822
5822
* a buffer.
5823
5823
*
5824
- * It returns the number of succesful conversions on success. On error,
5824
+ * It returns the number of successful conversions on success. On error,
5825
5825
* SDL_ICONV_E2BIG is returned when the output buffer is too small, or
5826
5826
* SDL_ICONV_EILSEQ is returned when an invalid input sequence is encountered,
5827
5827
* or SDL_ICONV_EINVAL is returned when an incomplete input sequence is
0 commit comments