Files
MINGW-packages/mingw-w64-SDL_ttf/001-bug1433.patch
2025-04-14 08:29:00 +02:00

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;