empathy r1808 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1808 - trunk/libempathy
- Date: Fri, 21 Nov 2008 16:18:19 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:18:19 2008
New Revision: 1808
URL: http://svn.gnome.org/viewvc/empathy?rev=1808&view=rev
Log:
Removed useless +0.5 in get_time_remaining. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy/empathy-tp-file.c
Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c (original)
+++ trunk/libempathy/empathy-tp-file.c Fri Nov 21 16:18:19 2008
@@ -891,7 +891,7 @@
remaining_time = time_per_byte * (tp_file->priv->size -
tp_file->priv->transferred_bytes);
- return (gint) (remaining_time + 0.5);
+ return (gint) remaining_time;
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]