summaryrefslogtreecommitdiff
path: root/extra/sdl_ttf/bug1433.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-02 00:01:28 +0000
committerroot <root@rshg054.dnsready.net>2012-03-02 00:01:28 +0000
commit9ff97db6951550a28a70b27491a446da9d736176 (patch)
tree482d46078cf0367200908e8e26bb335e54429b5b /extra/sdl_ttf/bug1433.patch
parent6f297b1cf462a11227d811a87124006c55911d63 (diff)
Fri Mar 2 00:01:27 UTC 2012
Diffstat (limited to 'extra/sdl_ttf/bug1433.patch')
-rw-r--r--extra/sdl_ttf/bug1433.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/sdl_ttf/bug1433.patch b/extra/sdl_ttf/bug1433.patch
new file mode 100644
index 000000000..b402fb3e9
--- /dev/null
+++ b/extra/sdl_ttf/bug1433.patch
@@ -0,0 +1,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; \ No newline at end of file