From 6792979e981b6378db325a24800500c549f78bb8 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 25 Jun 2007 11:19:11 +0000 Subject: [PATCH] fix indent. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gc.c b/gc.c index 83e04b2a50..10cb5c6a3d 100644 --- a/gc.c +++ b/gc.c @@ -439,9 +439,9 @@ add_heap(void) } heaps[heaps_used].membase = p; if ((VALUE)p % sizeof(RVALUE) == 0) - heap_slots += 1; + heap_slots += 1; else - p = (RVALUE*)((VALUE)p + sizeof(RVALUE) - ((VALUE)p % sizeof(RVALUE))); + p = (RVALUE*)((VALUE)p + sizeof(RVALUE) - ((VALUE)p % sizeof(RVALUE))); heaps[heaps_used].slot = p; heaps[heaps_used].limit = heap_slots; break; @@ -707,7 +707,7 @@ is_pointer_to_heap(void *ptr) for (i=0; i < heaps_used; i++) { heap_org = heaps[i].slot; if (heap_org <= p && p < heap_org + heaps[i].limit) - return Qtrue; + return Qtrue; } return Qfalse; } @@ -2008,7 +2008,7 @@ id2ref(VALUE obj, VALUE objid) if ((ptr % sizeof(RVALUE)) == (4 << 2)) { ID symid = ptr / sizeof(RVALUE); if (rb_id2name(symid) == 0) - rb_raise(rb_eRangeError, "%p is not symbol id value", p0); + rb_raise(rb_eRangeError, "%p is not symbol id value", p0); return ID2SYM(symid); }