gnumeric r16597 - in branches/gnumeric-1-8: . src
- From: jody svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r16597 - in branches/gnumeric-1-8: . src
- Date: Thu, 22 May 2008 12:41:11 +0000 (UTC)
Author: jody
Date: Thu May 22 12:41:10 2008
New Revision: 16597
URL: http://svn.gnome.org/viewvc/gnumeric?rev=16597&view=rev
Log:
2008-05-19 Jody Goldberg <jody gnome org>
* src/parse-util.c (r1c1_get_index) : handle =RC-10 as
<ref "RC"><unary-><10> #533943
Modified:
branches/gnumeric-1-8/ChangeLog
branches/gnumeric-1-8/NEWS
branches/gnumeric-1-8/src/parse-util.c
Modified: branches/gnumeric-1-8/NEWS
==============================================================================
--- branches/gnumeric-1-8/NEWS (original)
+++ branches/gnumeric-1-8/NEWS Thu May 22 12:41:10 2008
@@ -13,6 +13,9 @@
Nick Lamb:
* Honour detachable-toolbar preference. [#321867]
+Jody:
+ * Fix R1C1 parsing of refs followed by subtraction. [#533943]
+
Morten:
* Fix SUMIF problems. [#523250]
* Allow opening multiple files in open dialog. [#524479]
Modified: branches/gnumeric-1-8/src/parse-util.c
==============================================================================
--- branches/gnumeric-1-8/src/parse-util.c (original)
+++ branches/gnumeric-1-8/src/parse-util.c Thu May 22 12:41:10 2008
@@ -535,6 +535,12 @@
str++;
if ((*relative = (*str == '[')))
str++;
+ else if (*str == '-' || *str == '+') { /* handle RC-10 as RC followed by -10 */
+ *relative = TRUE;
+ *num = 0;
+ return str;
+ }
+
errno = 0;
*num = strtol (str, &end, 10);
if (errno == ERANGE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]