summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-07-09 08:36:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-15 07:25:01 +0200
commitea532ddb865852ded9b7547bc2c7e2b64ad2ff7e (patch)
tree8772c829c120a881de5455fa7dae2a67fb34bb0b /lib
parent592ae690f5fa0e0a07ad4390ef3b15cd0f465a80 (diff)
downloadbarebox-ea532ddb865852ded9b7547bc2c7e2b64ad2ff7e.tar.gz
barebox-ea532ddb865852ded9b7547bc2c7e2b64ad2ff7e.tar.xz
gui: Fix typo in function name
It's a render buffer, not a redering buffer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/gui/bmp.c2
-rw-r--r--lib/gui/png.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c
index 2a0509daea..892b759ee1 100644
--- a/lib/gui/bmp.c
+++ b/lib/gui/bmp.c
@@ -67,7 +67,7 @@ static int bmp_renderer(struct screen *sc, struct surface *s, struct image *img)
width = min(width, sc->s.width - startx);
height = min(height, sc->s.height - starty);
- buf = gui_screen_redering_buffer(sc);
+ buf = gui_screen_render_buffer(sc);
bits_per_pixel = img->bits_per_pixel;
diff --git a/lib/gui/png.c b/lib/gui/png.c
index 10faf5c986..e72786e041 100644
--- a/lib/gui/png.c
+++ b/lib/gui/png.c
@@ -65,7 +65,7 @@ static int png_renderer(struct screen *sc, struct surface *s, struct image *img)
width = min(width, sc->s.width - startx);
height = min(height, sc->s.height - starty);
- buf = gui_screen_redering_buffer(sc);
+ buf = gui_screen_render_buffer(sc);
gu_rgba_blend(&sc->info, img, buf, height, width, startx, starty, true);