From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/2] gui: Fix typo in function name
Date: Thu, 9 Jul 2015 09:55:52 +0200 [thread overview]
Message-ID: <1436428552-19970-2-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1436428552-19970-1-git-send-email-s.hauer@pengutronix.de>
It's a render buffer, not a redering buffer.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
include/gui/gui.h | 2 +-
lib/gui/bmp.c | 2 +-
lib/gui/png.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/gui/gui.h b/include/gui/gui.h
index 829d156..59ff590 100644
--- a/include/gui/gui.h
+++ b/include/gui/gui.h
@@ -27,7 +27,7 @@ struct screen {
int fbsize;
};
-static inline void* gui_screen_redering_buffer(struct screen *sc)
+static inline void *gui_screen_render_buffer(struct screen *sc)
{
if (sc->offscreenbuf)
return sc->offscreenbuf;
diff --git a/lib/gui/bmp.c b/lib/gui/bmp.c
index 2a0509d..892b759 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 10faf5c..e72786e 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);
--
2.1.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-07-09 7:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-09 7:55 [PATCH 1/2] graphic_utils: Add a common namespace to functions Sascha Hauer
2015-07-09 7:55 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436428552-19970-2-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox