* grub-core/normal/color.c (grub_env_write_color_normal): Fix a warning.
(grub_env_write_color_highlight): Likewise.
This commit is contained in:
parent
9a9de209a2
commit
f21db0332f
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/normal/color.c (grub_env_write_color_normal): Fix a warning.
|
||||||
|
(grub_env_write_color_highlight): Likewise.
|
||||||
|
|
||||||
2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-08-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/normal/term.c (print_more): Return to normal and not
|
* grub-core/normal/term.c (print_more): Return to normal and not
|
||||||
|
|
|
@ -125,10 +125,11 @@ set_colors (void)
|
||||||
|
|
||||||
/* Replace default `normal' colors with the ones specified by user (if any). */
|
/* Replace default `normal' colors with the ones specified by user (if any). */
|
||||||
char *
|
char *
|
||||||
grub_env_write_color_normal (struct grub_env_var *var, const char *val)
|
grub_env_write_color_normal (struct grub_env_var *var __attribute__ ((unused)),
|
||||||
|
const char *val)
|
||||||
{
|
{
|
||||||
if (grub_parse_color_name_pair (&color_normal, val))
|
if (grub_parse_color_name_pair (&color_normal, val))
|
||||||
return 0;
|
return NULL;
|
||||||
|
|
||||||
set_colors ();
|
set_colors ();
|
||||||
|
|
||||||
|
@ -137,10 +138,11 @@ grub_env_write_color_normal (struct grub_env_var *var, const char *val)
|
||||||
|
|
||||||
/* Replace default `highlight' colors with the ones specified by user (if any). */
|
/* Replace default `highlight' colors with the ones specified by user (if any). */
|
||||||
char *
|
char *
|
||||||
grub_env_write_color_highlight (struct grub_env_var *var, const char *val)
|
grub_env_write_color_highlight (struct grub_env_var *var __attribute__ ((unused)),
|
||||||
|
const char *val)
|
||||||
{
|
{
|
||||||
if (grub_parse_color_name_pair (&color_highlight, val))
|
if (grub_parse_color_name_pair (&color_highlight, val))
|
||||||
return 0;
|
return NULL;
|
||||||
|
|
||||||
set_colors ();
|
set_colors ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue