summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2009-09-30 16:07:42 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2009-09-30 16:07:42 -0700
commitaeda4bb2ae215a67f862edb36f52f50358258278 (patch)
tree04c13400b240d636213ee4d49ef25538f3d3536a /ext
parent9306ea64be1a720a3f237e885137e1689ef054d0 (diff)
downloadpsych-aeda4bb2ae215a67f862edb36f52f50358258278.zip
moving boolean classes
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/emitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/emitter.c b/ext/psych/emitter.c
index aa68e06..e5290e2 100644
--- a/ext/psych/emitter.c
+++ b/ext/psych/emitter.c
@@ -187,7 +187,7 @@ static VALUE start_mapping(
yaml_mapping_start_event_initialize(
&event,
(yaml_char_t *)(Qnil == anchor ? NULL : StringValuePtr(anchor)),
- (yaml_char_t *)(Qnil == anchor ? NULL : StringValuePtr(tag)),
+ (yaml_char_t *)(Qnil == tag ? NULL : StringValuePtr(tag)),
Qtrue == implicit ? 1 : 0,
(yaml_sequence_style_t)NUM2INT(style)
);