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

William Jon McCann william.jon.mccann at gmail.com
Wed Mar 4 12:22:23 PST 2009


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));
 
   return true;
 }
-- 
1.6.1.3



More information about the plymouth mailing list