]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
Add tip message when theme file contains non-enclosed literal values. (#2166)
authorlongpanda <admin@ventoy.net>
Sat, 14 Jan 2023 15:07:08 +0000 (23:07 +0800)
committerlongpanda <admin@ventoy.net>
Sat, 14 Jan 2023 15:07:08 +0000 (23:07 +0800)
GRUB2/MOD_SRC/grub-2.04/grub-core/gfxmenu/theme_loader.c

index 5ff3d259f909478cd79a15be03f67918274131a9..af90ce457c39c0f41c5df146b30509684d57ae00 100644 (file)
@@ -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;
     }