Skip to content

Commit d83503f

Browse files
smcvslouken
authored andcommitted
Fix some typos detected by Debian's lintian QA tool
I assume the demoninator is a typo, rather than an indication that someone has been playing too much Doom :-) Signed-off-by: Simon McVittie <[email protected]>
1 parent 40b941c commit d83503f

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

include/SDL3/SDL_camera.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef struct SDL_CameraSpec
119119
int width; /**< Frame width */
120120
int height; /**< Frame height */
121121
int framerate_numerator; /**< Frame rate numerator ((num / denom) == FPS, (denom / num) == duration in seconds) */
122-
int framerate_denominator; /**< Frame rate demoninator ((num / denom) == FPS, (denom / num) == duration in seconds) */
122+
int framerate_denominator; /**< Frame rate denominator ((num / denom) == FPS, (denom / num) == duration in seconds) */
123123
} SDL_CameraSpec;
124124

125125
/**

include/SDL3/SDL_gpu.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ typedef enum SDL_GPUCompareOp
11581158
SDL_GPU_COMPAREOP_LESS_OR_EQUAL, /**< The comparison evaluates reference <= test. */
11591159
SDL_GPU_COMPAREOP_GREATER, /**< The comparison evaluates reference > test. */
11601160
SDL_GPU_COMPAREOP_NOT_EQUAL, /**< The comparison evaluates reference != test. */
1161-
SDL_GPU_COMPAREOP_GREATER_OR_EQUAL, /**< The comparison evalutes reference >= test. */
1161+
SDL_GPU_COMPAREOP_GREATER_OR_EQUAL, /**< The comparison evaluates reference >= test. */
11621162
SDL_GPU_COMPAREOP_ALWAYS /**< The comparison always evaluates true. */
11631163
} SDL_GPUCompareOp;
11641164

@@ -2878,7 +2878,7 @@ extern SDL_DECLSPEC void SDLCALL SDL_InsertGPUDebugLabel(
28782878
const char *text);
28792879

28802880
/**
2881-
* Begins a debug group with an arbitary name.
2881+
* Begins a debug group with an arbitrary name.
28822882
*
28832883
* Used for denoting groups of calls when viewing the command buffer
28842884
* callstream in a graphics debugging tool.

include/SDL3/SDL_render.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2747,7 +2747,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_RenderDebugText(SDL_Renderer *renderer, flo
27472747
* Draw debug text to an SDL_Renderer.
27482748
*
27492749
* This function will render a printf()-style format string to a renderer.
2750-
* Note that this is a convinence function for debugging, with severe
2750+
* Note that this is a convenience function for debugging, with severe
27512751
* limitations, and is not intended to be used for production apps and games.
27522752
*
27532753
* For the full list of limitations and other useful information, see

include/SDL3/SDL_stdinc.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,7 +3426,7 @@ extern SDL_DECLSPEC size_t SDLCALL SDL_utf8strnlen(const char *str, size_t bytes
34263426
* Convert an integer into a string.
34273427
*
34283428
* 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
34303430
* to 36.
34313431
*
34323432
* 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);
34543454
* Convert an unsigned integer into a string.
34553455
*
34563456
* 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
34583458
* to 36.
34593459
*
34603460
* 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
34823482
* Convert a long integer into a string.
34833483
*
34843484
* 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
34863486
* to 36.
34873487
*
34883488
* 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);
35103510
* Convert an unsigned long integer into a string.
35113511
*
35123512
* 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
35143514
* to 36.
35153515
*
35163516
* 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
35403540
* Convert a long long integer into a string.
35413541
*
35423542
* 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
35443544
* to 36.
35453545
*
35463546
* 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
35683568
* Convert an unsigned long long integer into a string.
35693569
*
35703570
* 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
35723572
* to 36.
35733573
*
35743574
* 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
39233923
extern SDL_DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t maxlen);
39243924

39253925
/**
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
39273927
* breakset, and returns a pointer from the string to that character.
39283928
*
39293929
* \param str The null-terminated string to be searched. Must not be NULL, and
39303930
* must not overlap with `breakset`.
39313931
* \param breakset A null-terminated string containing the list of characters
39323932
* to look for. Must not be NULL, and must not overlap with
39333933
* `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
39353935
* character present in the breakset, or NULL if none is found.
39363936
*
39373937
* \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);
58215821
* This function converts text between encodings, reading from and writing to
58225822
* a buffer.
58235823
*
5824-
* It returns the number of succesful conversions on success. On error,
5824+
* It returns the number of successful conversions on success. On error,
58255825
* SDL_ICONV_E2BIG is returned when the output buffer is too small, or
58265826
* SDL_ICONV_EILSEQ is returned when an invalid input sequence is encountered,
58275827
* or SDL_ICONV_EINVAL is returned when an incomplete input sequence is

include/SDL3/SDL_video.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ extern SDL_DECLSPEC SDL_Window * SDLCALL SDL_GetWindowParent(SDL_Window *window)
15191519
* - `SDL_PROP_WINDOW_COCOA_WINDOW_POINTER`: the `(__unsafe_unretained)`
15201520
* NSWindow associated with the window
15211521
* - `SDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER`: the NSInteger tag
1522-
* assocated with metal views on the window
1522+
* associated with metal views on the window
15231523
*
15241524
* On OpenVR:
15251525
*

0 commit comments

Comments
 (0)