Fixed two typos spotted by Ryan Martindale <ryan@qsicorp.com>.
diff --git a/src/base/ftglyph.c b/src/base/ftglyph.c
index ccea179..47d61ca 100644
--- a/src/base/ftglyph.c
+++ b/src/base/ftglyph.c
@@ -163,7 +163,7 @@
size = (FT_ULong)( pitch * source->rows );
if ( !ALLOC( target->buffer, size ) )
- MEM_Copy( source->buffer, target->buffer, size );
+ MEM_Copy( target->buffer, source->buffer, size );
return error;
}
@@ -233,7 +233,7 @@
cbox->xMin = glyph->left << 6;
cbox->xMax = cbox->xMin + ( glyph->bitmap.width << 6 );
cbox->yMax = glyph->top << 6;
- cbox->yMin = cbox->xMax - ( glyph->bitmap.rows << 6 );
+ cbox->yMin = cbox->yMax - ( glyph->bitmap.rows << 6 );
}