Skip to content

Commit

Permalink
Win32: kill DirectX warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkempf committed Jan 15, 2013
1 parent 46b26be commit b07c372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/video_output/msw/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,9 @@ static int DirectXCreateWindow( event_thread_t *p_event )
p_event->class_main, /* name of window class */
_T(VOUT_TITLE) _T(" (DirectX Output)"), /* window title */
i_style, /* window style */
(!p_event->wnd_cfg.x) ? CW_USEDEFAULT :
(!p_event->wnd_cfg.x) ? (UINT)CW_USEDEFAULT :
(UINT)p_event->wnd_cfg.x, /* default X coordinate */
(!p_event->wnd_cfg.y) ? CW_USEDEFAULT :
(!p_event->wnd_cfg.y) ? (UINT)CW_USEDEFAULT :
(UINT)p_event->wnd_cfg.y, /* default Y coordinate */
rect_window.right - rect_window.left, /* window width */
rect_window.bottom - rect_window.top, /* window height */
Expand Down

0 comments on commit b07c372

Please sign in to comment.