Browse Source

JANITORIAL : Correct some more spelling mistakes (#6489)

Hubert Maier 2 years ago
parent
commit
5dc93451d2

+ 1 - 1
cmake/test/CMakeLists.txt

@@ -24,7 +24,7 @@ include(FeatureSummary)
 option(TEST_SHARED "Test linking to shared SDL2 library" ON)
 option(TEST_SHARED "Test linking to shared SDL2 library" ON)
 add_feature_info("TEST_SHARED" TEST_SHARED "Test linking with shared library")
 add_feature_info("TEST_SHARED" TEST_SHARED "Test linking with shared library")
 
 
-option(TEST_STATIC "Test linking to static SDL2 libary" ON)
+option(TEST_STATIC "Test linking to static SDL2 library" ON)
 add_feature_info("TEST_STATIC" TEST_STATIC "Test linking with static library")
 add_feature_info("TEST_STATIC" TEST_STATIC "Test linking with static library")
 
 
 if(TEST_SHARED)
 if(TEST_SHARED)

+ 1 - 1
src/audio/qsa/SDL_qsa_audio.c

@@ -128,7 +128,7 @@ QSA_WaitDevice(_THIS)
         SDL_SetError("QSA: SDL_IOReady() failed: %s", strerror(errno));
         SDL_SetError("QSA: SDL_IOReady() failed: %s", strerror(errno));
         break;
         break;
     case 0:
     case 0:
-        SDL_SetError("QSA: timeout on buffer waiting occured");
+        SDL_SetError("QSA: timeout on buffer waiting occurred");
         this->hidden->timeout_on_wait = 1;
         this->hidden->timeout_on_wait = 1;
         break;
         break;
     default:
     default:

+ 1 - 1
src/hidapi/linux/README.txt

@@ -39,7 +39,7 @@ Bugs (hidraw implementation only):
 -----------------------------------
 -----------------------------------
 On Kernel versions < 2.6.34, if your device uses numbered reports, an extra
 On Kernel versions < 2.6.34, if your device uses numbered reports, an extra
 byte will be returned at the beginning of all reports returned from read()
 byte will be returned at the beginning of all reports returned from read()
-for hidraw devices. This is worked around in the libary. No action should be
+for hidraw devices. This is worked around in the library. No action should be
 necessary in the client library.
 necessary in the client library.
 
 
 On Kernel versions < 2.6.35, reports will only be sent using a Set_Report
 On Kernel versions < 2.6.35, reports will only be sent using a Set_Report

+ 1 - 1
src/render/SDL_sysrender.h

@@ -231,7 +231,7 @@ struct SDL_Renderer
     SDL_DRect clip_rect;
     SDL_DRect clip_rect;
     SDL_DRect clip_rect_backup;
     SDL_DRect clip_rect_backup;
 
 
-    /* Wether or not the clipping rectangle is used. */
+    /* Whether or not the clipping rectangle is used. */
     SDL_bool clipping_enabled;
     SDL_bool clipping_enabled;
     SDL_bool clipping_enabled_backup;
     SDL_bool clipping_enabled_backup;
 
 

+ 1 - 1
src/video/cocoa/SDL_cocoamouse.h

@@ -32,7 +32,7 @@ extern void Cocoa_HandleMouseWarp(CGFloat x, CGFloat y);
 extern void Cocoa_QuitMouse(_THIS);
 extern void Cocoa_QuitMouse(_THIS);
 
 
 typedef struct {
 typedef struct {
-    /* Wether we've seen a cursor warp since the last move event. */
+    /* Whether we've seen a cursor warp since the last move event. */
     SDL_bool seenWarp;
     SDL_bool seenWarp;
     /* What location our last cursor warp was to. */
     /* What location our last cursor warp was to. */
     CGFloat lastWarpX;
     CGFloat lastWarpX;

+ 1 - 1
src/video/wayland/SDL_waylandwindow.c

@@ -916,7 +916,7 @@ decoration_frame_configure(struct libdecor_frame *frame,
 
 
     /* Update the resize capability. Since this will change the capabilities and
     /* Update the resize capability. Since this will change the capabilities and
      * commit a new frame state with the last known content dimension, this has
      * commit a new frame state with the last known content dimension, this has
-     * to be called after the new state has been commited and the new content
+     * to be called after the new state has been committed and the new content
      * dimensions were updated.
      * dimensions were updated.
      */
      */
     Wayland_SetWindowResizable(SDL_GetVideoDevice(), window,
     Wayland_SetWindowResizable(SDL_GetVideoDevice(), window,

+ 1 - 1
src/video/windows/SDL_windowsmessagebox.c

@@ -893,7 +893,7 @@ WIN_ShowOldMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid)
         } else if (result == IDINVALPTRDLGITEM) {
         } else if (result == IDINVALPTRDLGITEM) {
             SDL_SetError("Couldn't find dialog control of the default enter-key button");
             SDL_SetError("Couldn't find dialog control of the default enter-key button");
         } else {
         } else {
-            SDL_SetError("An unknown error occured");
+            SDL_SetError("An unknown error occurred");
         }
         }
         retval = -1;
         retval = -1;
     }
     }