* grub-core/gfxmenu/gui_circular_progress.c: Take both width and height

into account when calculating radius.
This commit is contained in:
Vladimir Testov 2013-04-03 09:20:29 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 9efd73ec66
commit c3578acfbb
3 changed files with 10 additions and 1 deletions

View file

@ -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 */