Description: Enlarge the rendering buffer to avoid segfaults
Author: Alexandre Duret-Lutz <duret_g@epita.fr>
Bug-Debian: https://bugs.debian.org/169525
Last-Update: 2016-01-21

2002-11-20  Alexandre Duret-Lutz  <duret_g@epita.fr>

	* src/media.video.h (ybuf, sbuf): Enlarge the height of the rendering
	  buffer, otherwise rendering tutorial arrows can overflow and
	  cause segfaults.
	  Reported by Christoph Claus and Jean Delvare.

--- heroes-0.21.orig/src/media/video.h
+++ heroes-0.21/src/media/video.h
@@ -25,8 +25,8 @@
 /* the three macro below configure the rendering buffers used in the game */
 #define xbuf 512		/* large width to suppress any clipping need,
 				   power of two of easier multiplications */
-#define ybuf 300		/* height */
-#define sbuf (50*xbuf)		/* keep sbuf empty line on top of the buffers
+#define ybuf 320		/* height */
+#define sbuf (60*xbuf)		/* keep sbuf empty line on top of the buffers
 				   (to avoid clipping) */
 
 
