Maelstrom: Fixed uninitialized memory in text

From c75a4ea36a88f842a32f60f6d9184ad9d8bc52a6 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 21 Oct 2011 23:46:31 -0400
Subject: [PATCH] Fixed uninitialized memory in text

---
 maclib/Mac_FontServ.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/maclib/Mac_FontServ.cpp b/maclib/Mac_FontServ.cpp
index 71977e85..06283252 100644
--- a/maclib/Mac_FontServ.cpp
+++ b/maclib/Mac_FontServ.cpp
@@ -360,6 +360,7 @@ FontServ:: TextImage(const char *text, MFont *font, Uint8 style, SDL_Color fg)
 
 	/* Allocate the text pixels */
 	bitmap = new Uint32[width*height];
+	memset(bitmap, 0, width*height*sizeof(Uint32));
 	color = screen->MapRGB(0xFF, 0xFF, 0xFF);
 
 	/* Print the individual characters */