12 lines
368 B
Diff
12 lines
368 B
Diff
--- a/SDL_ttf.c
|
|
+++ b/SDL_ttf.c
|
|
@@ -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;
|