forked from minhngoc25a/freetype2
Fixed two typos spotted by Ryan Martindale <ryan@qsicorp.com>.
This commit is contained in:
parent
47a5f41de6
commit
5a96b07c1f
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue