diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/yaml/pair.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/yaml/pair.c b/plugins/yaml/pair.c index 0e96937..df29f6f 100644 --- a/plugins/yaml/pair.c +++ b/plugins/yaml/pair.c @@ -192,6 +192,9 @@ GYamlPair *g_yaml_pair_new(GYamlLine *line) value = g_yaml_line_get_value(line); if (key == NULL) + key = g_yaml_line_get_payload(line); + + if (key == NULL) result = NULL; else |