summaryrefslogtreecommitdiff
path: root/extra/sdl_ttf/bug1433.patch
blob: b402fb3e96664b593cb30c79f6cfecba90e960fa (plain)
1
2
3
4
5
6
7
8
9
10
11
--- SDL_ttf.c.orig	2012-02-12 16:36:41.859977617 +0100
+++ SDL_ttf.c	2012-02-12 16:36:53.696580159 +0100
@@ -1747,7 +1747,7 @@
 	/* Copy the character from the pixmap */
 	src = glyph->pixmap.buffer;
 	dst = (Uint8*) textbuf->pixels;
-	for ( row = 0; row < glyph->bitmap.rows; ++row ) {
+	for ( row = 0; row < glyph->pixmap.rows; ++row ) {
 		memcpy( dst, src, glyph->pixmap.width );
 		src += glyph->pixmap.pitch;
 		dst += textbuf->pitch;