empathy r1714 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1714 - trunk/libempathy-gtk
- Date: Tue, 11 Nov 2008 15:28:26 +0000 (UTC)
Author: xclaesse
Date: Tue Nov 11 15:28:26 2008
New Revision: 1714
URL: http://svn.gnome.org/viewvc/empathy?rev=1714&view=rev
Log:
Trivial simplification of the math
Modified:
trunk/libempathy-gtk/empathy-avatar-chooser.c
Modified: trunk/libempathy-gtk/empathy-avatar-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-avatar-chooser.c (original)
+++ trunk/libempathy-gtk/empathy-avatar-chooser.c Tue Nov 11 15:28:26 2008
@@ -551,7 +551,7 @@
max_factor = factor;
if (converted_image_size < max_size)
min_factor = factor;
- factor = min_factor + (max_factor - min_factor)/2;
+ factor = (min_factor + max_factor)/2;
/* We are done if either:
* - min_factor == max_factor. That happens if we resized to
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]