2009-12-27 Carles Pina i Estany <carles@pina.cat>

* normal/cmdline.c (grub_cmdline_get): Print a space after prompt.
	* normal/main.c (grub_normal_read_line): Remove a space from the
	default prompt.
This commit is contained in:
carles 2009-12-27 00:43:21 +01:00
parent 714af9b9e4
commit 64fd18edbc
3 changed files with 10 additions and 4 deletions

View file

@ -546,9 +546,9 @@ static grub_err_t
grub_normal_read_line (char **line, int cont)
{
grub_parser_t parser = grub_parser_get_current ();
char prompt[sizeof("> ") + grub_strlen (parser->name)];
char prompt[sizeof(">") + grub_strlen (parser->name)];
grub_sprintf (prompt, "%s> ", parser->name);
grub_sprintf (prompt, "%s>", parser->name);
while (1)
{