* util/grub-mkfont.c: Replace stpcpy with grub_stpcpy.
This commit is contained in:
parent
c50e5f4543
commit
c8fd2ddf6d
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-12-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-mkfont.c: Replace stpcpy with grub_stpcpy.
|
||||||
|
|
||||||
2013-12-07 Andrey Borzenkov <arvidjaar@gmail.com>
|
2013-12-07 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
* docs/grub.texi (Environment): Update color_normal and color_highlight
|
* docs/grub.texi (Environment): Update color_normal and color_highlight
|
||||||
|
|
|
@ -821,9 +821,9 @@ write_font_pf2 (struct grub_font_info *font_info, char *output_file)
|
||||||
|
|
||||||
font_name = xmalloc (strlen (font_info->name) + strlen (&style_name[1])
|
font_name = xmalloc (strlen (font_info->name) + strlen (&style_name[1])
|
||||||
+ 3 + 20);
|
+ 3 + 20);
|
||||||
ptr = stpcpy (font_name, font_info->name);
|
ptr = grub_stpcpy (font_name, font_info->name);
|
||||||
*ptr++ = ' ';
|
*ptr++ = ' ';
|
||||||
ptr = stpcpy (ptr, &style_name[1]);
|
ptr = grub_stpcpy (ptr, &style_name[1]);
|
||||||
*ptr++ = ' ';
|
*ptr++ = ' ';
|
||||||
snprintf (ptr, 20, "%d", font_info->size);
|
snprintf (ptr, 20, "%d", font_info->size);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue