diff options
author | Nikita Yushchenko <nikita.yoush@cogentembedded.com> | 2017-11-01 19:02:26 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-11-03 08:52:11 +0100 |
commit | 77c35e74ec5e87b1fbf456ed8635c470f1d06fef (patch) | |
tree | 1136181f1f74cffd451f76f9d7b5cb873c115ddb /lib | |
parent | 23b64199bc39b68e978ddc5e09274ea11c49d0e1 (diff) | |
download | barebox-77c35e74ec5e87b1fbf456ed8635c470f1d06fef.tar.gz barebox-77c35e74ec5e87b1fbf456ed8635c470f1d06fef.tar.xz |
2d-primitives: fix typos in function names in comments
This fixes gl_* -> gu_* in several places.
Reported-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gui/2d-primitives.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gui/2d-primitives.c b/lib/gui/2d-primitives.c index 89acc092d5..82e59d9a67 100644 --- a/lib/gui/2d-primitives.c +++ b/lib/gui/2d-primitives.c @@ -72,7 +72,7 @@ static void draw_simple_line(struct screen *sc, } /** - * gl_draw_line - draw a 2D dashed line between (x1, y1) and (x2,y2) + * gu_draw_line - draw a 2D dashed line between (x1, y1) and (x2,y2) * * @sc: screen to draw on * @x1, @y1: first point defining the line @@ -80,7 +80,7 @@ static void draw_simple_line(struct screen *sc, * @r, @g, @b, @a: line's color * @dash: dash length (0 denotes solid line) * - * gl_draw_line() implements integer version of Bresenham's algoritm + * gu_draw_line() implements integer version of Bresenham's algoritm * as can be found here: * * http://www.idav.ucdavis.edu/education/GraphicsNotes/Bresenhams-Algorithm.pdf @@ -158,7 +158,7 @@ void gu_draw_line(struct screen *sc, } /** - * gl_draw_circle - draw a 2D circle with center at (x0, y0) + * gu_draw_circle - draw a 2D circle with center at (x0, y0) * * @sc: screen to draw on * @x0, @y0: coordinates of circle's center |