aboutsummaryrefslogtreecommitdiff
path: root/src/color.c
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-28 16:48:20 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-28 16:48:20 +0200
commit42522cce658826286473bd76327fb5060bcbce56 (patch)
treeeea236b27bd6a3368c4d08449d67cb8e00ab47df /src/color.c
parent5eefa5199f7784e18b4f760046829c64d07e13b9 (diff)
downloadAsciiMap-42522cce658826286473bd76327fb5060bcbce56.tar.gz
Readability, comments
Diffstat (limited to 'src/color.c')
-rw-r--r--src/color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.c b/src/color.c
index b4f4a40..f167016 100644
--- a/src/color.c
+++ b/src/color.c
@@ -19,7 +19,7 @@ struct console_color colors[] = { //Standard VGA colors
{255, 255, 255, "37;1"}
};
-uint8_t rgb_avg(uint8_t R, uint8_t G, uint8_t B)
+uint8_t rgb_luminance(uint8_t R, uint8_t G, uint8_t B)
{
uint8_t ret;