mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Make 8-bytes buffer more obvious.
This commit is contained in:
parent
28fbb9317b
commit
864745b55e
@ -148,7 +148,7 @@ get_color_string(color_T color, unsigned char hexcolor[8])
|
||||
}
|
||||
|
||||
void
|
||||
color_to_string(color_T color, unsigned char str[])
|
||||
color_to_string(color_T color, unsigned char str[8])
|
||||
{
|
||||
snprintf(str, 8, "#%06lx", (unsigned long) color);
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ unsigned char *get_color_string(color_T color, unsigned char hexcolor[8]);
|
||||
|
||||
/* Translate rgb color to string in #rrggbb format. str should be a pointer to
|
||||
* a 8 bytes memory space. */
|
||||
void color_to_string(color_T color, unsigned char str[]);
|
||||
void color_to_string(color_T color, unsigned char str[8]);
|
||||
|
||||
/* Fastfind lookup management. */
|
||||
void init_colors_lookup(void);
|
||||
|
Loading…
Reference in New Issue
Block a user