[PATCH 2/5] use the height in the max height comparison

Ray Strode halfline at gmail.com
Wed Mar 4 12:31:37 PST 2009


Hi,

On Wed, Mar 4, 2009 at 3:22 PM, William Jon McCann
<william.jon.mccann at gmail.com> wrote:
> From: William Jon McCann <jmccann at redhat.com>
>
> Fixes what was likely a copy/paste bug.
> ---
>  src/libplybootsplash/ply-throbber.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/libplybootsplash/ply-throbber.c b/src/libplybootsplash/ply-throbber.c
> index 79ab5b2..a3bd2ea 100644
> --- a/src/libplybootsplash/ply-throbber.c
> +++ b/src/libplybootsplash/ply-throbber.c
> @@ -237,7 +237,7 @@ ply_throbber_add_frame (ply_throbber_t *throbber,
>   ply_array_add_element (throbber->frames, image);
>
>   throbber->width = MAX (throbber->width, ply_image_get_width (image));
> -  throbber->height = MAX (throbber->width, ply_image_get_height (image));
> +  throbber->height = MAX (throbber->height, ply_image_get_height (image));
Doh, thanks. Looks good.  I wonder if spinfinity will look squished
together now.

If so, I'll probably just edit the image frames to be square :-)

--Ray


More information about the plymouth mailing list