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:
Jason A. Donenfeld 2015-10-28 12:24:25 +01:00 committed by Martin Roth
parent 53538be49d
commit a5c5db37ee
1 changed files with 2 additions and 2 deletions

View File

@ -488,7 +488,7 @@ static int calculate_dimension(const struct vector *dim_org,
return CBGFX_SUCCESS; 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, const struct scale *pos_rel, uint8_t pivot,
struct vector *top_left) struct vector *top_left)
{ {
@ -572,7 +572,7 @@ int draw_bitmap(const void *bitmap, size_t size,
scale.y.d = dim_org.height; scale.y.d = dim_org.height;
/* Calculate coordinate */ /* Calculate coordinate */
rv = caclcuate_position(&dim, pos_rel, pivot, &top_left); rv = calculate_position(&dim, pos_rel, pivot, &top_left);
if (rv) if (rv)
return rv; return rv;