cbgfx: Fix spelling of calculate_position()
Change-Id: Ib0dc14b197091450596ad01a924539b0e69acd68 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Reviewed-on: http://review.coreboot.org/12216 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
53538be49d
commit
a5c5db37ee
|
@ -488,7 +488,7 @@ static int calculate_dimension(const struct vector *dim_org,
|
|||
return CBGFX_SUCCESS;
|
||||
}
|
||||
|
||||
static int caclcuate_position(const struct vector *dim,
|
||||
static int calculate_position(const struct vector *dim,
|
||||
const struct scale *pos_rel, uint8_t pivot,
|
||||
struct vector *top_left)
|
||||
{
|
||||
|
@ -572,7 +572,7 @@ int draw_bitmap(const void *bitmap, size_t size,
|
|||
scale.y.d = dim_org.height;
|
||||
|
||||
/* Calculate coordinate */
|
||||
rv = caclcuate_position(&dim, pos_rel, pivot, &top_left);
|
||||
rv = calculate_position(&dim, pos_rel, pivot, &top_left);
|
||||
if (rv)
|
||||
return rv;
|
||||
|
||||
|
|
Loading…
Reference in New Issue