[pango/newer-json-parser: 2/3] json: Fix up select_string




commit 36e37180dfc6f0035b4bd6e142a24cf9c1188357
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 9 08:56:10 2021 -0500

    json: Fix up select_string
    
    There was a copy-paste error here.

 pango/json/gtkjsonparser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/json/gtkjsonparser.c b/pango/json/gtkjsonparser.c
index 633251ca..0b843dfe 100644
--- a/pango/json/gtkjsonparser.c
+++ b/pango/json/gtkjsonparser.c
@@ -1610,7 +1610,7 @@ gtk_json_parser_select_string (GtkJsonParser      *self,
       return -1;
     }
 
-  return json_string_iter_run_select (self->block->member_name, options);
+  return json_string_iter_run_select (self->block->value, options);
 }
 
 gboolean


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