From ea532ddb865852ded9b7547bc2c7e2b64ad2ff7e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 9 Jul 2015 08:36:12 +0200 Subject: gui: Fix typo in function name It's a render buffer, not a redering buffer. Signed-off-by: Sascha Hauer --- lib/gui/bmp.c | 2 +- lib/gui/png.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3