]> git.lizzy.rs Git - nothing.git/blobdiff - src/color.c
(#568) Replace list with format_list
[nothing.git] / src / color.c
index 4d8580bb98ee167a2ae4c0cbeb0fdd6979468186..768ef0ff9689cf9cfe52f68f1377d286126a5a24 100644 (file)
@@ -37,7 +37,7 @@ static Uint8 parse_color_component(const char *component)
     return (Uint8) (hex2dec_digit(component[0]) * 16 + hex2dec_digit(component[1]));
 }
 
-Color color_from_hexstr(const char *hexstr)
+Color hexstr(const char *hexstr)
 {
     if (strlen(hexstr) != 6) {
         return rgba(0.0f, 0.0f, 0.0f, 1.0f);