gnumeric r16573 - branches/gnumeric-1-8/plugins/fn-stat



Author: mortenw
Date: Sat May 17 01:11:44 2008
New Revision: 16573
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16573&view=rev

Log:
One more.



Modified:
   branches/gnumeric-1-8/plugins/fn-stat/functions.c

Modified: branches/gnumeric-1-8/plugins/fn-stat/functions.c
==============================================================================
--- branches/gnumeric-1-8/plugins/fn-stat/functions.c	(original)
+++ branches/gnumeric-1-8/plugins/fn-stat/functions.c	Sat May 17 01:11:44 2008
@@ -4755,7 +4755,7 @@
 		GnmValue *copy = value_dup (argv[1]);
 		int firstcol = argv[1]->v_range.cell.a.col;
 		int lastcol  = argv[1]->v_range.cell.b.col;
-		if (firstcol < lastcol) {
+		if (firstcol > lastcol) {
 			int tmp = firstcol;
 			firstcol = lastcol;
 			lastcol = tmp;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]