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




commit 7f9e8d7b68c8c3149a83bfc1b5059adcd9172c39
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 28847f38..a7146c8f 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]