From 87d7fa5a87b43d056759fff10c869b43fe9766ab Mon Sep 17 00:00:00 2001
From: cybermind <iddqd_mail@mail.ru>
Date: Mon, 15 Apr 2013 19:39:36 +0600
Subject: [PATCH] [*] Increased in-game notify message size fron 64 to 128 [-]
 Fixed bug with transparent 32bpp images in software mode

---
 src/ui/mainscr.cpp | 2 +-
 src/video/png.cpp  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ui/mainscr.cpp b/src/ui/mainscr.cpp
index 7480e043c..70add684e 100644
--- a/src/ui/mainscr.cpp
+++ b/src/ui/mainscr.cpp
@@ -562,7 +562,7 @@ void DrawResources()
 
 #define MESSAGES_MAX  10                         /// How many can be displayed
 
-static char MessagesEvent[MESSAGES_MAX][64];     /// Array of event messages
+static char MessagesEvent[MESSAGES_MAX][128];    /// Array of event messages
 static int  MessagesEventX[MESSAGES_MAX];        /// X coordinate of event
 static int  MessagesEventY[MESSAGES_MAX];        /// Y coordinate of event
 static int  MessagesEventCount;                  /// Number of event messages
diff --git a/src/video/png.cpp b/src/video/png.cpp
index fc5427ecd..56a5bed7d 100644
--- a/src/video/png.cpp
+++ b/src/video/png.cpp
@@ -235,7 +235,7 @@ int LoadGraphicPNG(CGraphic *g)
 			/* FIXME: Should these be truncated or shifted down? */
 			ckey = SDL_MapRGB(surface->format, (Uint8)transv->red, (Uint8)transv->green, (Uint8)transv->blue);
 		}
-		SDL_SetColorKey(surface, SDL_SRCCOLORKEY | SDL_RLEACCEL, ckey);
+		SDL_SetColorKey(surface, SDL_SRCCOLORKEY, ckey);
 	}
 
 	/* Create the array of pointers to image data */