[gnumeric] AutoFill: fix critical.



commit 3503dd94a38199080ff190c81a71c1b2d0312ab8
Author: Morten Welinder <terra gnome org>
Date:   Fri Aug 14 20:06:04 2020 -0400

    AutoFill: fix critical.

 NEWS                 | 1 +
 src/sheet-autofill.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/NEWS b/NEWS
index 34a37720d..5db632409 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Gnumeric 1.12.49
 
 Morten:
        * Rework conditional styling's upper level.
+       * Fix autofill array critical.  [#511]
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.48
diff --git a/src/sheet-autofill.c b/src/sheet-autofill.c
index 2e21b2068..ceaf3f0fa 100644
--- a/src/sheet-autofill.c
+++ b/src/sheet-autofill.c
@@ -861,7 +861,7 @@ afc_set_cell_hint (AutoFiller *af, GnmCell *cell, GnmCellPos const *pos,
                        int limit_y = afe->last.row - pos->row + 1;
                         int cols, rows;
 
-                       gnm_expr_top_get_array_size (texpr, &cols, &rows);
+                       gnm_expr_top_get_array_size (src_texpr, &cols, &rows);
                         cols = MIN (limit_x, cols);
                         rows = MIN (limit_y, rows);
 


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