* grub-core/gfxmenu/gui_circular_progress.c: Take both width and height
into account when calculating radius.
This commit is contained in:
parent
9efd73ec66
commit
c3578acfbb
3 changed files with 10 additions and 1 deletions
|
@ -478,4 +478,7 @@ void EXPORT_FUNC(grub_real_boot_time) (const char *file,
|
|||
#define grub_boot_time(fmt, args...)
|
||||
#endif
|
||||
|
||||
#define grub_max(a, b) (((a) > (b)) ? (a) : (b))
|
||||
#define grub_min(a, b) (((a) < (b)) ? (a) : (b))
|
||||
|
||||
#endif /* ! GRUB_MISC_HEADER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue