Fix some typos in diagnostic messages

Detected by Debian's packaging QA tool, Lintian.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2022-06-13 16:02:40 +01:00
committed by Sam Lantinga
parent c95edd9450
commit 63b3b9a558
4 changed files with 5 additions and 5 deletions

View File

@@ -476,9 +476,9 @@ SDL_bool KMSDRM_Vulkan_CreateSurface(_THIS,
}
}
/* If we couldn't find an appropiate plane, error out. */
/* If we couldn't find an appropriate plane, error out. */
if (plane == UINT32_MAX) {
SDL_SetError("Vulkan couldn't find an appropiate plane.");
SDL_SetError("Vulkan couldn't find an appropriate plane.");
goto clean;
}

View File

@@ -1827,7 +1827,7 @@ int SDL_X11_SetWindowTitle(Display* display, Window xwindow, char* title) {
} else if (conv < 0) {
return SDL_OutOfMemory();
} else { /* conv > 0 */
SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "%d characters were not convertable to the current locale!", conv);
SDL_LogDebug(SDL_LOG_CATEGORY_VIDEO, "%d characters were not convertible to the current locale!", conv);
return 0;
}