WinRT: Line ending fixes (CRLF to LF)
authorDavid Ludwig <dludwig@pobox.com>
Mon, 24 Mar 2014 22:12:38 -0400
changeset 8678 7149b02f106b
parent 8677 ce3c968f7340
child 8679 dd52820b7f5c
WinRT: Line ending fixes (CRLF to LF)
src/core/winrt/SDL_winrtapp_direct3d.cpp
--- a/src/core/winrt/SDL_winrtapp_direct3d.cpp	Mon Mar 24 11:42:09 2014 -0300
+++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp	Mon Mar 24 22:12:38 2014 -0400
@@ -557,12 +557,12 @@
 
         if (args->Visible) {
             SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_SHOWN, 0, 0);
-            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_GAINED, 0, 0);
-            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_RESTORED, 0, 0);
+            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_GAINED, 0, 0);
+            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_RESTORED, 0, 0);
         } else {
             SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_HIDDEN, 0, 0);
-            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_LOST, 0, 0);
-            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_MINIMIZED, 0, 0);
+            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_FOCUS_LOST, 0, 0);
+            SDL_SendWindowEvent(WINRT_GlobalSDLWindow, SDL_WINDOWEVENT_MINIMIZED, 0, 0);
         }
 
         // HACK: Prevent SDL's window-hide handling code, which currently