aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--node.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1eefb3c10a..346348e6a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jan 31 23:27:23 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
+
+ * node.c (add_id): remove duplicated rb_id2str() call.
+
Sun Jan 30 17:19:46 2011 Tanaka Akira <akr@fsij.org>
* missing/langinfo.c: parenthesize macro arguments.
diff --git a/node.c b/node.c
index c71fa460e9..d1f1b70832 100644
--- a/node.c
+++ b/node.c
@@ -77,7 +77,7 @@ add_id(VALUE buf, ID id)
else {
VALUE str = rb_id2str(id);
if (str) {
- A(":"); AR(rb_id2str(id));
+ A(":"); AR(str);
}
else {
A("(internal variable)");