[gnumeric] Typo fix.



commit 130540b9eef4ac6d4a34c1d2a19ab25a018c3c4a
Author: Morten Welinder <terra gnome org>
Date:   Fri Jun 21 08:42:10 2013 -0400

    Typo fix.

 plugins/excel/ChangeLog         |    5 +++++
 plugins/excel/ms-formula-read.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index 9db2e14..162c1fb 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,8 @@
+2013-06-21  Morten Welinder  <terra gnome org>
+
+       * ms-formula-read.c (make_function): Eliminate typo.  Fixes
+       #702789.
+
 2013-06-21  Andreas J. Guelzow <aguelzow pyrshep ca>
 
        * xlsx-utils.c (XLSXExprConventions): add field
diff --git a/plugins/excel/ms-formula-read.c b/plugins/excel/ms-formula-read.c
index a777f51..f5d7d80 100644
--- a/plugins/excel/ms-formula-read.c
+++ b/plugins/excel/ms-formula-read.c
@@ -711,7 +711,7 @@ make_function (GnmExprList **stack, int fn_idx, int numargs, Workbook *wb)
                } else if (g_str_has_prefix (f_name, "_xlfnodf.") &&
                           (name = gnm_func_lookup (f_name + 9, wb))) {
                        /* This happens for GAMMA, for example. */
-                       f_name += 69;
+                       f_name += 9;
                }
 
                if (!name)


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