src/video/directfb/SDL_DirectFB_window.c
changeset 7037 3fedf1f25b94
parent 6986 bc887debed9b
child 7191 75360622e65f
     1.1 --- a/src/video/directfb/SDL_DirectFB_window.c	Fri Mar 29 21:29:57 2013 -0400
     1.2 +++ b/src/video/directfb/SDL_DirectFB_window.c	Sun Mar 31 12:48:50 2013 -0400
     1.3 @@ -176,8 +176,7 @@
     1.4  int
     1.5  DirectFB_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
     1.6  {
     1.7 -    SDL_Unsupported();
     1.8 -    return -1;
     1.9 +    return SDL_Unsupported();
    1.10  }
    1.11  
    1.12  void
    1.13 @@ -188,8 +187,9 @@
    1.14      if (windata->is_managed) {
    1.15          windata->wm_needs_redraw = 1;
    1.16          DirectFB_WM_RedrawLayout(_this, window);
    1.17 -    } else
    1.18 +    } else {
    1.19          SDL_Unsupported();
    1.20 +    }
    1.21  }
    1.22  
    1.23  void