diff src/video/maccommon/SDL_macwm.c @ 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 d910939febfa
children
line wrap: on
line diff
--- a/src/video/maccommon/SDL_macwm.c	Thu Jul 06 18:01:37 2006 +0000
+++ b/src/video/maccommon/SDL_macwm.c	Mon Jul 10 21:04:37 2006 +0000
@@ -33,12 +33,15 @@
 #include "SDL_stdinc.h"
 #include "SDL_macwm_c.h"
 
-void Mac_SetCaption(_THIS, const char *title, const char *icon)
+void
+Mac_SetCaption(_THIS, const char *title, const char *icon)
 {
-	/* Don't convert C to P string in place, because it may be read-only */
-	Str255		ptitle; /* MJS */
-	ptitle[0] = strlen (title);
-	SDL_memcpy(ptitle+1, title, ptitle[0]); /* MJS */
-	if (SDL_Window)
-		SetWTitle(SDL_Window, ptitle); /* MJS */
+    /* Don't convert C to P string in place, because it may be read-only */
+    Str255 ptitle;              /* MJS */
+    ptitle[0] = strlen(title);
+    SDL_memcpy(ptitle + 1, title, ptitle[0]);   /* MJS */
+    if (SDL_Window)
+        SetWTitle(SDL_Window, ptitle);  /* MJS */
 }
+
+/* vi: set ts=4 sw=4 expandtab: */