ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #00068
[Merge] lp:~anders-kaseorg/xsplash/last-frame into lp:xsplash
Anders Kaseorg has proposed merging lp:~anders-kaseorg/xsplash/last-frame into lp:xsplash.
Requested reviews:
Cody Russell (bratsche)
Simple math fix for bug #420249 “Ping pong mode doesn't show last frame”.
--
https://code.launchpad.net/~anders-kaseorg/xsplash/last-frame/+merge/11214
Your team ayatana-commits is subscribed to branch lp:xsplash.
=== modified file 'src/xsplash.c'
--- src/xsplash.c 2009-09-02 14:04:26 +0000
+++ src/xsplash.c 2009-09-04 16:28:58 +0000
@@ -547,7 +547,7 @@
server = (XsplashServer *)user_data;
priv = XSPLASH_SERVER_GET_PRIVATE (server);
- frame = MAX (throbber_frames * progress - 1, 0);
+ frame = MIN (throbber_frames * progress, throbber_frames - 1);
height = gdk_pixbuf_get_height (priv->throbber_pixbuf) / throbber_frames;
y_offset = height * (frame);
Follow ups