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

Generated by cgit