mir: Fixed typo in error messages.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
diff --git a/src/video/mir/SDL_mirframebuffer.c b/src/video/mir/SDL_mirframebuffer.c
index 056fbfc..d804f3e 100644
--- a/src/video/mir/SDL_mirframebuffer.c
+++ b/src/video/mir/SDL_mirframebuffer.c
@@ -42,7 +42,7 @@ MIR_CreateWindowFramebuffer(_THIS, SDL_Window* window, Uint32* format,
mir_data->software = SDL_TRUE;
if (MIR_CreateWindow(_this, window) < 0)
- return SDL_SetError("Failed to created a mir window.");
+ return SDL_SetError("Failed to create a mir window.");
*format = MIR_GetSDLPixelFormat(mir_data->pixel_format);
if (*format == SDL_PIXELFORMAT_UNKNOWN)
diff --git a/src/video/mir/SDL_mirwindow.c b/src/video/mir/SDL_mirwindow.c
index 41bd252..183114b 100644
--- a/src/video/mir/SDL_mirwindow.c
+++ b/src/video/mir/SDL_mirwindow.c
@@ -41,7 +41,7 @@ IsMirWindowValid(MIR_Window* mir_window)
{
if (!MIR_mir_window_is_valid(mir_window->window)) {
const char* error = MIR_mir_window_get_error_message(mir_window->window);
- return SDL_SetError("Failed to created a mir surface: %s", error);
+ return SDL_SetError("Failed to create a mir surface: %s", error);
}
return 1;
@@ -134,7 +134,7 @@ MIR_CreateWindow(_THIS, SDL_Window* window)
MIR_mir_window_spec_release(spec);
if (!MIR_mir_window_is_valid(mir_window->window)) {
- return SDL_SetError("Failed to created a mir surface: %s",
+ return SDL_SetError("Failed to create a mir surface: %s",
MIR_mir_window_get_error_message(mir_window->window));
}
@@ -146,7 +146,7 @@ MIR_CreateWindow(_THIS, SDL_Window* window)
mir_window->egl_surface = SDL_EGL_CreateSurface(_this, egl_native_window);
if (mir_window->egl_surface == EGL_NO_SURFACE) {
- return SDL_SetError("Failed to created a window surface %p",
+ return SDL_SetError("Failed to create a window surface %p",
_this->egl_data->egl_display);
}
}