[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.
This commit is contained in:
Ray Strode 2010-06-17 16:11:42 -04:00
parent 26bc6f87c0
commit efe9f39672

View 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