mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-12 23:03:37 +00:00
CodeSpell
This commit is contained in:
committed by
Özkan Sezer
parent
8b53b77058
commit
d870911202
@@ -1118,7 +1118,7 @@ static int SDLCALL surface_testCompleteSurfaceConversion(void *arg)
|
||||
*/
|
||||
static int SDLCALL surface_testLoadFailure(void *arg)
|
||||
{
|
||||
SDL_Surface *face = SDL_LoadBMP("nonexistant.bmp");
|
||||
SDL_Surface *face = SDL_LoadBMP("nonexistent.bmp");
|
||||
SDLTest_AssertCheck(face == NULL, "SDL_CreateLoadBmp");
|
||||
|
||||
return TEST_COMPLETED;
|
||||
|
||||
@@ -192,7 +192,7 @@ static void RenderClearBackground(void)
|
||||
SDL_SetRenderDrawColor(renderer, 128, 128, 128, 255);
|
||||
SDL_RenderClear(renderer);
|
||||
|
||||
/* Check the renderered pixels */
|
||||
/* Check the rendered pixels */
|
||||
SDL_Color c;
|
||||
if (!ReadPixel(0, 0, &c)) {
|
||||
return;
|
||||
@@ -220,7 +220,7 @@ static void RenderDrawBackground(void)
|
||||
SDL_SetRenderDrawColor(renderer, 128, 128, 128, 255);
|
||||
SDL_RenderFillRect(renderer, NULL);
|
||||
|
||||
/* Check the renderered pixels */
|
||||
/* Check the rendered pixels */
|
||||
SDL_Color c;
|
||||
if (!ReadPixel(0, 0, &c)) {
|
||||
return;
|
||||
@@ -269,7 +269,7 @@ static void RenderTextureBackground(void)
|
||||
SDL_RenderTexture(renderer, texture, NULL, NULL);
|
||||
SDL_DestroyTexture(texture);
|
||||
|
||||
/* Check the renderered pixels */
|
||||
/* Check the rendered pixels */
|
||||
SDL_Color c;
|
||||
if (!ReadPixel(0, 0, &c)) {
|
||||
return;
|
||||
@@ -307,7 +307,7 @@ static void RenderTargetBackground(void)
|
||||
SDL_RenderTexture(renderer, target, NULL, NULL);
|
||||
SDL_DestroyTexture(target);
|
||||
|
||||
/* Check the renderered pixels */
|
||||
/* Check the rendered pixels */
|
||||
SDL_Color c;
|
||||
if (!ReadPixel(0, 0, &c)) {
|
||||
return;
|
||||
|
||||
@@ -142,7 +142,7 @@ int main(int argc, char **argv)
|
||||
efx[nefx].type = SDL_HAPTIC_SINE;
|
||||
efx[nefx].periodic.period = 1000;
|
||||
efx[nefx].periodic.magnitude = -0x2000; /* Negative magnitude and ... */
|
||||
efx[nefx].periodic.phase = 18000; /* ... 180 degrees phase shift => cancel eachother */
|
||||
efx[nefx].periodic.phase = 18000; /* ... 180 degrees phase shift => cancel each other */
|
||||
efx[nefx].periodic.length = 5000;
|
||||
efx[nefx].periodic.attack_length = 1000;
|
||||
efx[nefx].periodic.fade_length = 1000;
|
||||
|
||||
@@ -228,7 +228,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
success = SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR,
|
||||
"Cyrillic (Ukranian)",
|
||||
"Cyrillic (Ukrainian)",
|
||||
"Для запису людської мови використовуються системи письма.",
|
||||
NULL);
|
||||
if (!success) {
|
||||
|
||||
Reference in New Issue
Block a user