diff src/video/bwindow/SDL_syswm.cc @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents 376665398b25
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/bwindow/SDL_syswm.cc	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/bwindow/SDL_syswm.cc	Mon Jul 10 21:04:37 2006 +0000
@@ -23,33 +23,33 @@
 
 #include "SDL_BWin.h"
 
-extern "C" {
+extern "C"
+{
 
 #include "SDL_syswm_c.h"
 #include "SDL_error.h"
 
-void BE_SetWMCaption(_THIS, const char *title, const char *icon)
-{
-	SDL_Win->SetTitle(title);
-}
+    void BE_SetWMCaption(_THIS, const char *title, const char *icon)
+    {
+        SDL_Win->SetTitle(title);
+    }
 
-int BE_IconifyWindow(_THIS)
-{
-	SDL_Win->Minimize(true);
-}
+    int BE_IconifyWindow(_THIS)
+    {
+        SDL_Win->Minimize(true);
+    }
 
-int BE_GetWMInfo(_THIS, SDL_SysWMinfo *info)
-{
-    if (info->version.major <= SDL_MAJOR_VERSION)
-    {
-        return 1;
-    }
-    else
+    int BE_GetWMInfo(_THIS, SDL_SysWMinfo * info)
     {
-        SDL_SetError("Application not compiled with SDL %d.%d\n",
-                      SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
-        return -1;
+        if (info->version.major <= SDL_MAJOR_VERSION) {
+            return 1;
+        } else {
+            SDL_SetError("Application not compiled with SDL %d.%d\n",
+                         SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
+            return -1;
+        }
     }
-}
 
-}; /* Extern C */
+};                              /* Extern C */
+
+/* vi: set ts=4 sw=4 expandtab: */