Skip to content

Commit

Permalink
Add tip message when theme file contains non-enclosed literal values. (
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Jan 14, 2023
1 parent 4f53340 commit 5067020
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GRUB2/MOD_SRC/grub-2.04/grub-core/gfxmenu/theme_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,11 @@ read_property (struct parsebuf *p)
"%s:%d:%d property value invalid; "
"enclose literal values in quotes (\")",
p->filename, p->line_num, p->col_num);

grub_printf("File: %s\nLine:%d Column:%d\n"
"property value invalid; enclose literal values in quotes (\")\n\n",
p->filename, p->line_num, p->col_num);

goto done;
}

Expand Down

0 comments on commit 5067020

Please sign in to comment.