From: Ray Strode Date: Thu, 17 Jun 2010 20:11:42 +0000 (-0400) Subject: [throbber] fix drawing artifact X-Git-Tag: 0.8.4~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe9f3967264ae991f9b64b28bd44bb40c40c696;p=thirdparty%2Fplymouth.git [throbber] fix drawing artifact 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. --- diff --git a/src/libply-splash-graphics/ply-throbber.c b/src/libply-splash-graphics/ply-throbber.c index 45638b7a..8dbc1c30 100644 --- a/src/libply-splash-graphics/ply-throbber.c +++ b/src/libply-splash-graphics/ply-throbber.c @@ -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