diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c index 4aa838956..de00c36e0 100644 --- a/glib/gvariant-parser.c +++ b/glib/gvariant-parser.c @@ -2738,7 +2738,7 @@ g_variant_parse_error_print_context (GError *error, goto out; if (point >= strlen (source_str)) - /* the error is at the end if the input */ + /* the error is at the end of the input */ add_last_line (err, source_str); else /* otherwise just treat it as a error at a thin range */ diff --git a/glib/gvariant-serialiser.c b/glib/gvariant-serialiser.c index d903d74c9..4c8425aac 100644 --- a/glib/gvariant-serialiser.c +++ b/glib/gvariant-serialiser.c @@ -920,7 +920,7 @@ gvs_tuple_get_child (GVariantSerialised value, child.size = fixed_size; } - else /* G_VARIANT_MEMEBER_ENDING_OFFSET */ + else /* G_VARIANT_MEMBER_ENDING_OFFSET */ end = gvs_read_unaligned_le (value.data + value.size - offset_size * (member_info->i + 2), offset_size);