]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[throbber] fix drawing artifact
authorRay Strode <rstrode@redhat.com>
Thu, 17 Jun 2010 20:11:42 +0000 (16:11 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 17 Jun 2010 20:11:42 +0000 (16:11 -0400)
The code was using the wrong x and y values, which meant initially
there is an opportunity to draw a frame in the wrong place.

src/libply-splash-graphics/ply-throbber.c

index 45638b7a91b25733d5451522c590a1163c1c00bc..8dbc1c305d88cbd84ece0dd3499593e24bd4c01b 100644 (file)
@@ -381,8 +381,8 @@ ply_throbber_draw_area (ply_throbber_t     *throbber,
   frames = (ply_image_t * const *) ply_array_get_elements (throbber->frames);
   ply_pixel_buffer_fill_with_buffer (buffer,
                                      frames[throbber->frame_number],
-                                     throbber->frame_area.x,
-                                     throbber->frame_area.y);
+                                     throbber->x,
+                                     throbber->y);
 }
 
 long