[gnumeric] sstest: load functions after filtering.



commit fe0d541836cea4d33717c6c626b51c2c56d3d6db
Author: Morten Welinder <terra gnome org>
Date:   Wed Nov 29 20:39:35 2017 -0500

    sstest: load functions after filtering.

 src/sstest.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/sstest.c b/src/sstest.c
index 2f4ab0c..3f40e92 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -278,8 +278,6 @@ enumerate_functions (gboolean filter)
        for (ui = 0; ui < res->len; ui++) {
                GnmFunc *fd = g_ptr_array_index (res, ui);
 
-               gnm_func_load_if_stub (fd);
-
                if (filter &&
                    (fd->name == NULL ||
                     strcmp (fd->name, "perl_adder") == 0 ||
@@ -291,6 +289,8 @@ enumerate_functions (gboolean filter)
                        g_ptr_array_remove_index_fast (res, ui);
                        ui--;
                }
+
+               gnm_func_load_if_stub (fd);
        }
 
        if (res->len > 0)


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