Parcourir la source

Wayland: Removed empty statement.

Philipp Wiesemann il y a 10 ans
Parent
commit
ce2d5f70e4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/video/wayland/SDL_waylandwindow.c

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

@@ -186,7 +186,7 @@ int Wayland_CreateWindow(_THIS, SDL_Window *window)
     data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->egl_window);
     data->egl_surface = SDL_EGL_CreateSurface(_this, (NativeWindowType) data->egl_window);
     
     
     if (data->egl_surface == EGL_NO_SURFACE) {
     if (data->egl_surface == EGL_NO_SURFACE) {
-        return SDL_SetError("failed to create a window surface");;
+        return SDL_SetError("failed to create a window surface");
     }
     }
 
 
     if (data->shell_surface) {
     if (data->shell_surface) {