[gnumeric] ssgrep: fix problem when used as filter.



commit ad0621737a0b1a4f60141d8c72465c2191bf8b9c
Author: Morten Welinder <terra gnome org>
Date:   Thu Dec 24 16:36:01 2020 -0500

    ssgrep: fix problem when used as filter.
    
    Fix from #552.

 NEWS         | 3 +++
 src/ssgrep.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/NEWS b/NEWS
index f13fdd656..1e00744a1 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,9 @@ Gnumeric 1.12.49
 Jean:
        * Fix graph size issue when the graph is in its own sheet. [#516]
 
+JohnDenker:
+       * Fix ssgrep problem when used as a filter.  [#552]
+
 Morten:
        * Rework conditional styling's upper level.
        * Fix autofill array critical.  [#511]
diff --git a/src/ssgrep.c b/src/ssgrep.c
index 5bc325823..f59e6d73e 100644
--- a/src/ssgrep.c
+++ b/src/ssgrep.c
@@ -419,7 +419,7 @@ main (int argc, char const **argv)
        GOptionContext  *ocontext;
        GError          *error = NULL;
        int              i, N;
-       const char *argv_stdin[] = { "fd://1", NULL };
+       const char *argv_stdin[] = { "fd://0", NULL };
 
        /* No code before here, we need to init threads */
        argv = gnm_pre_parse_init (argc, argv);


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