From d59ea214054858550ce3d433a653050dacde3f1e Mon Sep 17 00:00:00 2001 From: sDos280 <107134807+sDos280@users.noreply.github.com> Date: Sun, 31 Jul 2022 02:51:25 +0300 Subject: [PATCH 1/3] removing typo in line 41 line, presssed -> pressed (#2602) --- examples/core/core_window_should_close.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/core/core_window_should_close.c b/examples/core/core_window_should_close.c index 39b30fabb..fa6b9b97b 100644 --- a/examples/core/core_window_should_close.c +++ b/examples/core/core_window_should_close.c @@ -38,7 +38,7 @@ int main() { // Update //---------------------------------------------------------------------------------- - // Detect if X-button or KEY_ESCAPE have been presssed to close window + // Detect if X-button or KEY_ESCAPE have been pressed to close window if (WindowShouldClose() || IsKeyPressed(KEY_ESCAPE)) exitWindowRequested = true; if (exitWindowRequested) @@ -74,4 +74,4 @@ int main() //-------------------------------------------------------------------------------------- return 0; -} \ No newline at end of file +} From 85bd13c41d9c0235c4860718defdb838d12f73ee Mon Sep 17 00:00:00 2001 From: sDos280 <107134807+sDos280@users.noreply.github.com> Date: Sun, 31 Jul 2022 11:31:14 +0300 Subject: [PATCH 2/3] removing typo, Colours->Colors (#2603) --- examples/textures/textures_mouse_painting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/textures/textures_mouse_painting.c b/examples/textures/textures_mouse_painting.c index 50c5c1645..eb6dc480a 100644 --- a/examples/textures/textures_mouse_painting.c +++ b/examples/textures/textures_mouse_painting.c @@ -29,7 +29,7 @@ int main(void) InitWindow(screenWidth, screenHeight, "raylib [textures] example - mouse painting"); - // Colours to choose from + // Colors to choose from Color colors[MAX_COLORS_COUNT] = { RAYWHITE, YELLOW, GOLD, ORANGE, PINK, RED, MAROON, GREEN, LIME, DARKGREEN, SKYBLUE, BLUE, DARKBLUE, PURPLE, VIOLET, DARKPURPLE, BEIGE, BROWN, DARKBROWN, From f31e4ebb3dd5ce45cc9d912f1c2400f50fe0dfe1 Mon Sep 17 00:00:00 2001 From: BlueStag <71090710+BlueStaggo@users.noreply.github.com> Date: Sun, 31 Jul 2022 20:09:41 +0100 Subject: [PATCH 3/3] Use American spelling of colourSpace (#2604) --- src/rtextures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtextures.c b/src/rtextures.c index 39a7a5c03..214f7d739 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -4574,7 +4574,7 @@ static Image LoadPVR(const unsigned char *fileData, unsigned int fileSize) unsigned int flags; unsigned char channels[4]; // pixelFormat high part unsigned char channelDepth[4]; // pixelFormat low part - unsigned int colourSpace; + unsigned int colorSpace; unsigned int channelType; unsigned int height; unsigned int width;